diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-10-03 20:42:31 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-10-03 20:42:31 (GMT) |
commit | 031633c4791ce31b94f655148912e987df078025 (patch) | |
tree | 230658fef919ab278e158ea4a13f100b78d7d323 /tools | |
parent | dd9caf37d2e1191ed9abce4c34564ab22a8d53a8 (diff) | |
download | hdf5-031633c4791ce31b94f655148912e987df078025.zip hdf5-031633c4791ce31b94f655148912e987df078025.tar.gz hdf5-031633c4791ce31b94f655148912e987df078025.tar.bz2 |
Revert clear objects for testfile removal
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5import/CMakeTests.cmake | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/h5import/CMakeTests.cmake b/tools/h5import/CMakeTests.cmake index 54e7abe..0fdf9dd 100644 --- a/tools/h5import/CMakeTests.cmake +++ b/tools/h5import/CMakeTests.cmake @@ -88,8 +88,16 @@ set_tests_properties (H5IMPORT-${testname} PROPERTIES DEPENDS H5IMPORT-h5importtest) endif () else (HDF5_ENABLE_USING_MEMCHECKER) + add_test ( + NAME H5IMPORT-${testname}-clear-objects + COMMAND ${CMAKE_COMMAND} + -E remove + ${testfile} + ) + set_tests_properties (H5IMPORT-${testname}-clear-objects PROPERTIES DEPENDS H5IMPORT-h5importtest) + add_test (NAME H5IMPORT-${testname} COMMAND $<TARGET_FILE:h5import> ${importfile} -c ${conffile} -o ${testfile}) - set_tests_properties (H5IMPORT-${testname} PROPERTIES DEPENDS H5IMPORT-h5importtest) + set_tests_properties (H5IMPORT-${testname} PROPERTIES DEPENDS H5IMPORT-${testname}-clear-objects) add_test ( NAME H5IMPORT-${testname}-H5DMP |