diff options
Diffstat (limited to 'tools/test/h5stat/CMakeTests.cmake')
-rw-r--r-- | tools/test/h5stat/CMakeTests.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/test/h5stat/CMakeTests.cmake b/tools/test/h5stat/CMakeTests.cmake index 9035eaf..2b47cd0 100644 --- a/tools/test/h5stat/CMakeTests.cmake +++ b/tools/test/h5stat/CMakeTests.cmake @@ -117,6 +117,9 @@ set_tests_properties (H5STAT-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}" ) + if ("H5STAT-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (H5STAT-${resultfile} PROPERTIES DISABLED true) + endif () endmacro () macro (ADD_H5_ERR_TEST resultfile resultcode) @@ -144,6 +147,9 @@ set_tests_properties (H5STAT-${resultfile} PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}" ) + if ("H5STAT-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}") + set_tests_properties (H5STAT-${resultfile} PROPERTIES DISABLED true) + endif () endmacro () ############################################################################## |