summaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-11-23 09:58:36 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-11-23 09:58:36 (GMT)
commitbf3d2a77d2b59cc31fd72919b01b8ad0d7a9bfb8 (patch)
treea7a2d5192a766b84f34569cf3bcdc6ce23377361 /test/CMakeLists.txt
parent63d1783beadf2f365de990e198dbb9c8cb885586 (diff)
downloaduscxml-bf3d2a77d2b59cc31fd72919b01b8ad0d7a9bfb8.zip
uscxml-bf3d2a77d2b59cc31fd72919b01b8ad0d7a9bfb8.tar.gz
uscxml-bf3d2a77d2b59cc31fd72919b01b8ad0d7a9bfb8.tar.bz2
Conditionalize VHDL tests on GHDL version
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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}