summaryrefslogtreecommitdiffstats
path: root/tools/libtest/CMakeTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libtest/CMakeTests.cmake')
-rw-r--r--tools/libtest/CMakeTests.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libtest/CMakeTests.cmake b/tools/libtest/CMakeTests.cmake
index 79810c4..b8d63d3 100644
--- a/tools/libtest/CMakeTests.cmake
+++ b/tools/libtest/CMakeTests.cmake
@@ -28,6 +28,9 @@
if (NOT "${resultcode}" STREQUAL "0")
set_tests_properties (H5LIBTEST-${resultfile} PROPERTIES WILL_FAIL "true")
endif ()
+ if ("H5LIBTEST-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
+ set_tests_properties (H5LIBTEST-${resultfile} PROPERTIES DISABLED true)
+ endif ()
endmacro ()
##############################################################################