mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Fix missing depends for last repart test
This commit is contained in:
parent
f81103e89e
commit
13d1568c3f
@ -71,30 +71,37 @@
|
||||
family_to_single.h5
|
||||
family_to_sec2.h5
|
||||
)
|
||||
if (NOT "${last_test}" STREQUAL "")
|
||||
set_tests_properties (H5REPART-clearall-objects PROPERTIES DEPENDS ${last_test})
|
||||
endif ()
|
||||
set (last_test "H5REPART-clearall-objects")
|
||||
set_tests_properties (H5REPART-clearall-objects PROPERTIES FIXTURES_SETUP clear_testrepart)
|
||||
|
||||
# repartition family member size to 20,000 bytes.
|
||||
add_test (NAME H5REPART-h5repart_20K COMMAND $<TARGET_FILE:h5repart> -m 20000 family_file%05d.h5 fst_family%05d.h5)
|
||||
set_tests_properties (H5REPART-h5repart_20K PROPERTIES DEPENDS H5REPART-clearall-objects)
|
||||
set_tests_properties (H5REPART-h5repart_20K PROPERTIES
|
||||
FIXTURES_REQUIRED clear_testrepart
|
||||
)
|
||||
|
||||
# repartition family member size to 5 KB.
|
||||
add_test (NAME H5REPART-h5repart_5K COMMAND $<TARGET_FILE:h5repart> -m 5k family_file%05d.h5 scd_family%05d.h5)
|
||||
set_tests_properties (H5REPART-h5repart_5K PROPERTIES DEPENDS H5REPART-clearall-objects)
|
||||
set_tests_properties (H5REPART-h5repart_5K PROPERTIES
|
||||
FIXTURES_REQUIRED clear_testrepart
|
||||
)
|
||||
|
||||
# convert family file to sec2 file of 20,000 bytes
|
||||
add_test (NAME H5REPART-h5repart_single COMMAND $<TARGET_FILE:h5repart> -m 20000 -family_to_single family_file%05d.h5 family_to_single.h5)
|
||||
set_tests_properties (H5REPART-h5repart_single PROPERTIES DEPENDS H5REPART-clearall-objects)
|
||||
set_tests_properties (H5REPART-h5repart_single PROPERTIES
|
||||
FIXTURES_REQUIRED clear_testrepart
|
||||
)
|
||||
|
||||
# convert family file to sec2 file of 20,000 bytes (old argument)
|
||||
add_test (NAME H5REPART-h5repart_sec2 COMMAND $<TARGET_FILE:h5repart> -m 20000 -family_to_sec2 family_file%05d.h5 family_to_sec2.h5)
|
||||
set_tests_properties (H5REPART-h5repart_sec2 PROPERTIES DEPENDS H5REPART-clearall-objects)
|
||||
set_tests_properties (H5REPART-h5repart_sec2 PROPERTIES
|
||||
FIXTURES_REQUIRED clear_testrepart
|
||||
)
|
||||
|
||||
# test the output files repartitioned above.
|
||||
add_test (NAME H5REPART-h5repart_test COMMAND $<TARGET_FILE:h5repart_test>)
|
||||
set_tests_properties (H5REPART-h5repart_test PROPERTIES DEPENDS "H5REPART-clearall-objects;H5REPART-h5repart_20K;H5REPART-h5repart_5K;H5REPART-h5repart_sec2")
|
||||
set_tests_properties (H5REPART-h5repart_test PROPERTIES
|
||||
DEPENDS "H5REPART-h5repart_20K;H5REPART-h5repart_5K;H5REPART-h5repart_single;H5REPART-h5repart_sec2")
|
||||
)
|
||||
|
||||
set (H5_DEP_EXECUTABLES ${H5_DEP_EXECUTABLES}
|
||||
h5repart_test
|
||||
|
Loading…
Reference in New Issue
Block a user