summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-03-23 00:37:04 (GMT)
committerGitHub <noreply@github.com>2023-03-23 00:37:04 (GMT)
commit7b4387df4322c3a953f5747c3ffbf907875ca815 (patch)
treea2f3147456059ebb06b3fbe9675c5fc83b87863a /hl/tools/gif2h5
parent98728706dd800e365cee6f601873b515e5f8822c (diff)
downloadhdf5-7b4387df4322c3a953f5747c3ffbf907875ca815.zip
hdf5-7b4387df4322c3a953f5747c3ffbf907875ca815.tar.gz
hdf5-7b4387df4322c3a953f5747c3ffbf907875ca815.tar.bz2
Merge CMake cleanup process from develop (#2622)
* Merge CMake cleanup process from develop * Update test script files
Diffstat (limited to 'hl/tools/gif2h5')
-rw-r--r--hl/tools/gif2h5/CMakeTests.cmake18
1 files changed, 13 insertions, 5 deletions
diff --git a/hl/tools/gif2h5/CMakeTests.cmake b/hl/tools/gif2h5/CMakeTests.cmake
index 36ea5f9..b2a8e27 100644
--- a/hl/tools/gif2h5/CMakeTests.cmake
+++ b/hl/tools/gif2h5/CMakeTests.cmake
@@ -28,16 +28,24 @@ HDFTEST_COPY_FILE("${HDF5_HL_TOOLS_GIF2H5_SOURCE_DIR}/testfiles/ex_image2.h5" "$
add_custom_target(gif2h5_files ALL COMMENT "Copying files needed by gif2h5 tests" DEPENDS ${gif2h5_files_list})
# Remove any output file left over from previous test run
+set (HL_TOOLS_CLEANFILES
+ image1.gif
+ image1.h5
+ image.gif
+ image24.gif
+)
add_test (
NAME HL_TOOLS-clear-objects
COMMAND ${CMAKE_COMMAND}
- -E remove
- image1.gif
- image1.h5
- image.gif
- image24.gif
+ -E remove ${HL_TOOLS_CLEANFILES}
)
set_tests_properties (HL_TOOLS-clear-objects PROPERTIES FIXTURES_SETUP clear_tools_hl)
+add_test (
+ NAME HL_TOOLS-clean-objects
+ COMMAND ${CMAKE_COMMAND}
+ -E remove ${HL_TOOLS_CLEANFILES}
+)
+set_tests_properties (HL_TOOLS-clean-objects PROPERTIES FIXTURES_CLEANUP clear_tools_hl)
add_test (NAME HL_TOOLS_gif2h5 COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:gif2h5${tgt_file_ext}> testfiles/image1.gif image1.h5)
set_tests_properties (HL_TOOLS_gif2h5 PROPERTIES