From bf3d2a77d2b59cc31fd72919b01b8ad0d7a9bfb8 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Wed, 23 Nov 2016 10:58:36 +0100 Subject: Conditionalize VHDL tests on GHDL version --- test/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3aaca56..3899359 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -249,6 +249,10 @@ if (NOT BUILD_MINIMAL) get_filename_component(TEST_TARGET ${TEST_TYPE} NAME) if (TEST_TYPE MATCHES "^gen/${TEST_TARGET}") + if (TEST_TARGET MATCHES "vhdl" AND ${GHDL_VERSION} VERSION_LESS "0.32") + continue() + endif() + # generate native interpreters add_test(NAME "${TEST_NAME}" COMMAND ${CMAKE_COMMAND} -- cgit v0.12