diff options
Diffstat (limited to 'tools/h5repack/h5repack.sh.in')
-rwxr-xr-x | tools/h5repack/h5repack.sh.in | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in index 9fce08a..2e411b0 100755 --- a/tools/h5repack/h5repack.sh.in +++ b/tools/h5repack/h5repack.sh.in @@ -36,7 +36,6 @@ H5DIFF_BIN=`pwd`/$H5DIFF # The path of the h5diff tool binary H5DETECTSZIP=testh5repack_detect_szip # The tool name H5DETECTSZIP_BIN=`pwd`/$H5DETECTSZIP # The path of the tool binary - INFO_FILE=../testfiles/info.h5repack FILE0=h5repack_fill.h5 @@ -428,6 +427,26 @@ TOOLTEST $FILE4 -l dset_chunk:CHUNK=18x13 # Native option TOOLTEST $FILE1 -n + +# long swtiches. use FILE4=h5repack_layout.h5 (no filters) + +arg="$FILE4 --layout CHUNK=20x10 --filter GZIP=1 --threshold=10 --native --latest --compact=8 --indexed=6 --ssize=8[:dtype]" +if test $USE_FILTER_DEFLATE != "yes" ; then + SKIP $arg +else + TOOLTEST $arg +fi + +# several global filters + +arg="$FILE4 --filter GZIP=1 --filter SHUF" +if test $USE_FILTER_DEFLATE != "yes" -o $USE_FILTER_SHUFFLE != "yes" ; then + SKIP $arg +else + TOOLTEST $arg +fi + + if test $nerrors -eq 0 ; then echo "All $H5REPACK tests passed." fi |