mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Add missing cleanup dependency to h5repack tests (#5878)
* Fix overwriting dependency list
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user