diff options
Diffstat (limited to 'tools/test/h5ls')
-rw-r--r-- | tools/test/h5ls/CMakeTests.cmake | 9 | ||||
-rw-r--r-- | tools/test/h5ls/CMakeTestsVDS.cmake | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tools/test/h5ls/CMakeTests.cmake b/tools/test/h5ls/CMakeTests.cmake index 14a7e5d..629f324 100644 --- a/tools/test/h5ls/CMakeTests.cmake +++ b/tools/test/h5ls/CMakeTests.cmake @@ -169,6 +169,9 @@ set_tests_properties (H5LS-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles" ) + if ("H5LS-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (H5LS-${resultfile} PROPERTIES DISABLED true) + endif () endmacro () macro (ADD_H5_ERR_TEST resultfile resultcode) @@ -197,6 +200,9 @@ set_tests_properties (H5LS-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles" ) + if ("H5LS-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (H5LS-${resultfile} PROPERTIES DISABLED true) + endif () endmacro () macro (ADD_H5_UD_TEST testname resultcode resultfile) @@ -219,6 +225,9 @@ set_tests_properties (H5LS_UD-${testname}-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles" ) + if ("H5LS_UD-${testname}-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (H5LS_UD-${testname}-${resultfile} PROPERTIES DISABLED true) + endif () endif () endmacro () diff --git a/tools/test/h5ls/CMakeTestsVDS.cmake b/tools/test/h5ls/CMakeTestsVDS.cmake index 3718f64..9bf4042 100644 --- a/tools/test/h5ls/CMakeTestsVDS.cmake +++ b/tools/test/h5ls/CMakeTestsVDS.cmake @@ -103,6 +103,9 @@ -P "${HDF_RESOURCES_DIR}/runTest.cmake" ) endif () + if ("H5LS-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (H5LS-${resultfile} PROPERTIES DISABLED true) + endif () endmacro () macro (ADD_H5_VDS_PREFIX_TEST resultfile resultcode) @@ -132,6 +135,9 @@ -P "${HDF_RESOURCES_DIR}/runTest.cmake" ) endif () + if ("H5LS_PREFIX-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (H5LS_PREFIX-${resultfile} PROPERTIES DISABLED true) + endif () endmacro () ############################################################################## |