summaryrefslogtreecommitdiffstats
path: root/c++/test/CMakeVFDTests.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/CMakeVFDTests.cmake')
-rw-r--r--c++/test/CMakeVFDTests.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/test/CMakeVFDTests.cmake b/c++/test/CMakeVFDTests.cmake
index 5405df3..52f8069 100644
--- a/c++/test/CMakeVFDTests.cmake
+++ b/c++/test/CMakeVFDTests.cmake
@@ -37,6 +37,9 @@ macro (ADD_VFD_TEST vfdname resultcode)
-P "${HDF_RESOURCES_DIR}/vfdTest.cmake"
)
set_tests_properties (CPP_VFD-${vfdname}-cpp_testhdf5 PROPERTIES TIMEOUT ${CTEST_SHORT_TIMEOUT})
+ if ("CPP_VFD-${vfdname}-cpp_testhdf5" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
+ set_tests_properties (CPP_VFD-${vfdname}-cpp_testhdf5 PROPERTIES DISABLED true)
+ endif ()
endif ()
endmacro ()