summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-08-08 20:01:06 (GMT)
committerGitHub <noreply@github.com>2022-08-08 20:01:06 (GMT)
commit60ba2356de3f074b18acf2ba7737da160274b803 (patch)
tree81beb9bfbcd551878ea6b8656b70e2f3a0549f4f /test
parent5d63aca604713973ef6079deb0da247efa0e077a (diff)
downloadhdf5-60ba2356de3f074b18acf2ba7737da160274b803.zip
hdf5-60ba2356de3f074b18acf2ba7737da160274b803.tar.gz
hdf5-60ba2356de3f074b18acf2ba7737da160274b803.tar.bz2
Revert for older cmake versions (#1974)
* Revert for older cmake versions * Remove unneeded clear/clean tests because of changes to test macro
Diffstat (limited to 'test')
-rw-r--r--test/CMakeTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 90ae9cd..6bcd394 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -313,14 +313,14 @@ set (EXTLINKS_CLEANFILES
# Remove any output file left over from previous test run
add_test (
NAME H5TEST-clear-objects
- COMMAND ${CMAKE_COMMAND} -E rm -f ${test_CLEANFILES} ${EXTLINKS_CLEANFILES}
+ COMMAND ${CMAKE_COMMAND} -E remove ${test_CLEANFILES} ${EXTLINKS_CLEANFILES}
COMMAND_EXPAND_LISTS
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
)
set_tests_properties (H5TEST-clear-objects PROPERTIES FIXTURES_SETUP clear_H5TEST)
add_test (
NAME H5TEST-clean-objects
- COMMAND ${CMAKE_COMMAND} -E rm -f ${test_CLEANFILES} ${EXTLINKS_CLEANFILES}
+ COMMAND ${CMAKE_COMMAND} -E remove ${test_CLEANFILES} ${EXTLINKS_CLEANFILES}
COMMAND_EXPAND_LISTS
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST
)