diff options
Diffstat (limited to 'hl/test/CMakeTests.cmake')
-rw-r--r-- | hl/test/CMakeTests.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hl/test/CMakeTests.cmake b/hl/test/CMakeTests.cmake index 781ed14..6ec5f29 100644 --- a/hl/test/CMakeTests.cmake +++ b/hl/test/CMakeTests.cmake @@ -118,6 +118,9 @@ macro (HL_ADD_TEST hl_name) ENVIRONMENT "srcdir=${HDF5_HL_TEST_BINARY_DIR}" WORKING_DIRECTORY ${HDF5_HL_TEST_BINARY_DIR} ) + if ("HL_${hl_name}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (HL_${hl_name} PROPERTIES DISABLED true) + endif () endmacro () HL_add_test (test_lite ) |