Add missing cleanup dependency to h5repack tests (#5878)

* Fix overwriting dependency list
This commit is contained in:
Matt L
2025-09-25 17:10:24 -05:00
committed by GitHub
parent d072fcce90
commit fe7ae303b1
+4 -1
View File
@@ -527,6 +527,9 @@ macro (ADD_H5_TEST testname)
set_tests_properties (H5REPACK-${ctest_testname} PROPERTIES
DEPENDS H5REPACK-${ctest_testname}-clear-objects
)
list (APPEND ARG_CLEANUP_DEPENDS "H5REPACK-${ctest_testname}")
if ("H5REPACK-${ctest_testname}" MATCHES "${HDF5_DISABLE_TESTS_REGEX}")
set_tests_properties (H5REPACK-${ctest_testname} PROPERTIES DISABLED true)
endif ()
@@ -545,7 +548,7 @@ macro (ADD_H5_TEST testname)
set_tests_properties (H5REPACK-${ctest_testname}_DFF PROPERTIES DISABLED true)
endif ()
set (ARG_CLEANUP_DEPENDS "H5REPACK-${ctest_testname}_DFF")
list (APPEND ARG_CLEANUP_DEPENDS "H5REPACK-${ctest_testname}_DFF")
elseif (${ARG_COMPARE_LOCAL} AND ${ARG_FULL_DIFF})
# h5diff via runTest
add_test (