HDFFV-8611 change h5repack to save the root group creation order
Added test and new arguments to control the the input file parsing.
This commit is contained in:
@@ -90,6 +90,7 @@
|
||||
${HDF5_TOOLS_DIR}/testfiles/tfamily00008.h5
|
||||
${HDF5_TOOLS_DIR}/testfiles/tfamily00009.h5
|
||||
${HDF5_TOOLS_DIR}/testfiles/tfamily00010.h5
|
||||
${HDF5_TOOLS_DIR}/testfiles/tordergr.h5
|
||||
# tools/testfiles/vds
|
||||
${HDF5_TOOLS_DIR}/testfiles/vds/1_a.h5
|
||||
${HDF5_TOOLS_DIR}/testfiles/vds/1_b.h5
|
||||
@@ -137,6 +138,7 @@
|
||||
${HDF5_TOOLS_TEST_H5REPACK_SOURCE_DIR}/testfiles/4_vds.h5-vds_compa-v.ddl
|
||||
${HDF5_TOOLS_TEST_H5REPACK_SOURCE_DIR}/testfiles/4_vds.h5-vds_conti-v.ddl
|
||||
${HDF5_TOOLS_TEST_H5REPACK_SOURCE_DIR}/testfiles/h5repack_layout.h5-plugin_zero.tst
|
||||
${HDF5_TOOLS_TEST_H5REPACK_SOURCE_DIR}/testfiles/crtorder.tordergr.h5.ddl
|
||||
)
|
||||
|
||||
foreach (h5_file ${LIST_HDF5_TEST_FILES} ${LIST_OTHER_TEST_FILES})
|
||||
@@ -312,7 +314,7 @@
|
||||
NAME H5REPACK_DMP-h5dump-${testname}
|
||||
COMMAND "${CMAKE_COMMAND}"
|
||||
-D "TEST_PROGRAM=$<TARGET_FILE:h5dump>"
|
||||
-D "TEST_ARGS:STRING=-pH;out-${testname}.${resultfile}"
|
||||
-D "TEST_ARGS:STRING=-q;creation_order;-pH;out-${testname}.${resultfile}"
|
||||
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}/testfiles"
|
||||
-D "TEST_OUTPUT=${resultfile}-${testname}.out"
|
||||
-D "TEST_EXPECT=${resultcode}"
|
||||
@@ -965,6 +967,11 @@
|
||||
endif ()
|
||||
ADD_H5_TEST (deflate_file ${TESTTYPE} ${arg})
|
||||
|
||||
#crtorder
|
||||
set (arg tordergr.h5 -L)
|
||||
set (TESTTYPE "TEST")
|
||||
ADD_H5_DMP_TEST (crtorder ${TESTTYPE} 0 ${arg})
|
||||
|
||||
#########################################################
|
||||
# layout options (these files have no filters)
|
||||
#########################################################
|
||||
|
||||
Reference in New Issue
Block a user