summaryrefslogtreecommitdiffstats
path: root/c++
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 /c++
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 'c++')
-rw-r--r--c++/test/CMakeVFDTests.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/c++/test/CMakeVFDTests.cmake b/c++/test/CMakeVFDTests.cmake
index 92b7340..5405df3 100644
--- a/c++/test/CMakeVFDTests.cmake
+++ b/c++/test/CMakeVFDTests.cmake
@@ -22,18 +22,9 @@ H5_CREATE_VFD_DIR()
### T H E T E S T S M A C R O S ###
##############################################################################
##############################################################################
-set (CPP_VFD_CLEANFILES
- *-cpp_testhdf5.out
- *-cpp_testhdf5.out.err
-)
macro (ADD_VFD_TEST vfdname resultcode)
if (NOT HDF5_ENABLE_USING_MEMCHECKER)
add_test (
- NAME CPP_VFD-${vfdname}-cpp_testhdf5-clear-objects
- COMMAND ${CMAKE_COMMAND} -E remove ${CPP_VFD_CLEANFILES}
- WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/${vfdname}
- )
- add_test (
NAME CPP_VFD-${vfdname}-cpp_testhdf5
COMMAND "${CMAKE_COMMAND}"
-D "TEST_EMULATOR=${CMAKE_CROSSCOMPILING_EMULATOR}"
@@ -45,14 +36,7 @@ macro (ADD_VFD_TEST vfdname resultcode)
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}/${vfdname}"
-P "${HDF_RESOURCES_DIR}/vfdTest.cmake"
)
- set_tests_properties (CPP_VFD-${vfdname}-cpp_testhdf5 PROPERTIES DEPENDS CPP_VFD-${vfdname}-cpp_testhdf5-clear-objects)
set_tests_properties (CPP_VFD-${vfdname}-cpp_testhdf5 PROPERTIES TIMEOUT ${CTEST_SHORT_TIMEOUT})
- add_test (
- NAME CPP_VFD-${vfdname}-cpp_testhdf5-clean-objects
- COMMAND ${CMAKE_COMMAND} -E remove ${CPP_VFD_CLEANFILES}
- WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/${vfdname}
- )
- set_tests_properties (CPP_VFD-${vfdname}-cpp_testhdf5-clean-objects PROPERTIES DEPENDS CPP_VFD-${vfdname}-cpp_testhdf5)
endif ()
endmacro ()