summaryrefslogtreecommitdiffstats
path: root/tools/test/h5diff
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-11-22 13:51:30 (GMT)
committerGitHub <noreply@github.com>2023-11-22 13:51:30 (GMT)
commit3ea21ccb3e84dae935c32faff5d10ce9672a3265 (patch)
tree825781aed8fbee0af89bc0303921757ba7c360e0 /tools/test/h5diff
parent046440400f877ce1f6c94ccce0c17c0619647b42 (diff)
downloadhdf5-3ea21ccb3e84dae935c32faff5d10ce9672a3265.zip
hdf5-3ea21ccb3e84dae935c32faff5d10ce9672a3265.tar.gz
hdf5-3ea21ccb3e84dae935c32faff5d10ce9672a3265.tar.bz2
Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859)
Diffstat (limited to 'tools/test/h5diff')
-rw-r--r--tools/test/h5diff/CMakeTests.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/test/h5diff/CMakeTests.cmake b/tools/test/h5diff/CMakeTests.cmake
index d89df46..f993f4b 100644
--- a/tools/test/h5diff/CMakeTests.cmake
+++ b/tools/test/h5diff/CMakeTests.cmake
@@ -437,6 +437,9 @@
set_tests_properties (H5DIFF-${resultfile} PROPERTIES
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles"
)
+ if ("H5DIFF-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
+ set_tests_properties (H5DIFF-${resultfile} PROPERTIES DISABLED true)
+ endif ()
endmacro ()
macro (ADD_PH5_TEST resultfile resultcode)
@@ -469,6 +472,9 @@
set_tests_properties (MPI_TEST_H5DIFF-${resultfile} PROPERTIES
WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/PAR/testfiles"
)
+ if ("MPI_TEST_H5DIFF-${resultfile}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
+ set_tests_properties (MPI_TEST_H5DIFF-${resultfile} PROPERTIES DISABLED true)
+ endif ()
endmacro ()
macro (ADD_H5_UD_TEST testname resultcode resultfile)
@@ -508,6 +514,9 @@
-P "${HDF_RESOURCES_DIR}/runTest.cmake"
)
endif ()
+ if ("H5DIFF_UD-${testname}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
+ set_tests_properties (H5DIFF_UD-${testname} PROPERTIES DISABLED true)
+ endif ()
endif ()
endmacro ()