summaryrefslogtreecommitdiffstats
path: root/tools/test/h5repack/h5repack.sh.in
diff options
context:
space:
mode:
authorJacob Smith <jake.smith@hdfgroup.org>2019-09-23 21:21:37 (GMT)
committerJacob Smith <jake.smith@hdfgroup.org>2019-09-23 21:21:37 (GMT)
commitaa797af31b41773281ee55dab47cca278244f933 (patch)
treea2cc17c6285522d2a82723b2baf00d3ef8593a76 /tools/test/h5repack/h5repack.sh.in
parent7d3e17076312ddf8083d749e51629f0ef90b38c7 (diff)
downloadhdf5-aa797af31b41773281ee55dab47cca278244f933.zip
hdf5-aa797af31b41773281ee55dab47cca278244f933.tar.gz
hdf5-aa797af31b41773281ee55dab47cca278244f933.tar.bz2
Refactor h5repackgentest to have more modular internals, for easier
addition of new tests. Update manifest and test script for new hdf5 external-storage .h5 files.
Diffstat (limited to 'tools/test/h5repack/h5repack.sh.in')
-rw-r--r--tools/test/h5repack/h5repack.sh.in24
1 files changed, 15 insertions, 9 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in
index 1af4fd0..1232b33 100644
--- a/tools/test/h5repack/h5repack.sh.in
+++ b/tools/test/h5repack/h5repack.sh.in
@@ -115,8 +115,14 @@ $SRC_H5REPACK_TESTFILES/h5repack_fsm_aggr_persist.h5
$SRC_H5REPACK_TESTFILES/h5repack_none.h5
$SRC_H5REPACK_TESTFILES/h5repack_paged_nopersist.h5
$SRC_H5REPACK_TESTFILES/h5repack_paged_persist.h5
-$SRC_H5REPACK_TESTFILES/h5repack_int32le.h5
-$SRC_H5REPACK_TESTFILES/h5repack_int32le_ex.h5
+$SRC_H5REPACK_TESTFILES/h5repack_f32le.h5
+$SRC_H5REPACK_TESTFILES/h5repack_f32le_ex.h5
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_1d.h5
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_1d_ex.h5
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_2d.h5
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_2d_ex.h5
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_3d.h5
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_3d_ex.h5
$SRC_H5REPACK_TESTFILES/h5repack_uint8be.h5
$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex.h5
$SRC_H5DIFF_TESTFILES/h5diff_attr1.h5
@@ -164,7 +170,11 @@ $SRC_H5REPACK_TESTFILES/ublock.bin
$SRC_H5REPACK_TESTFILES/h5repack.info
$SRC_H5REPACK_TESTFILES/crtorder.tordergr.h5.ddl
$SRC_H5REPACK_TESTFILES/deflate_limit.h5repack_layout.h5.ddl
-$SRC_H5REPACK_TESTFILES/h5repack_int32le_ex-0.dat
+$SRC_H5REPACK_TESTFILES/h5repack_f32le_ex-0.dat
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_1d_ex-0.dat
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_1d_ex-1.dat
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_2d_ex-0.dat
+$SRC_H5REPACK_TESTFILES/h5repack_int32le_3d_ex-0.dat
$SRC_H5REPACK_TESTFILES/h5repack_layout.h5.ddl
$SRC_H5REPACK_TESTFILES/h5repack_filters.h5-gzip_verbose_filters.tst
$SRC_H5REPACK_TESTFILES/h5repack_layout.h5-dset2_chunk_20x10-errstk.tst
@@ -173,10 +183,6 @@ $SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-0.dat
$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-1.dat
$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-2.dat
$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-3.dat
-$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-4.dat
-$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-5.dat
-$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-6.dat
-$SRC_H5REPACK_TESTFILES/h5repack_uint8be_ex-7.dat
$SRC_H5REPACK_TESTFILES/plugin_test.h5repack_layout.h5.tst
$SRC_H5REPACK_TESTFILES/1_vds.h5-vds_dset_chunk20x10x5-v.ddl
$SRC_H5REPACK_TESTFILES/2_vds.h5-vds_chunk3x6x9-v.ddl
@@ -647,7 +653,7 @@ DIFFFAIL()
# -----------------------------------------------------------------------------
VERIFY_EXTERNAL_CONSOLIDATION()
{
- for name in int32le uint8be
+ for name in f32le int32le_1d int32le_2d int32le_3d uint8be
do
basename="h5repack_${name}"
base_ext="${basename}_ex"
@@ -672,7 +678,7 @@ VERIFY_EXTERNAL_CONSOLIDATION()
DIFFTEST $repacked $canonical
DIFFTEST $repacked $external
- # invalidate external file by moving its data file; verify
+ # invalidate external file by moving its first data file; verify
( cd $TESTDIR
mv $ex_dat $ex_dat_mv
)