From af51ee1e00f699f8c52ca2844932c4715b9bf1bd Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Fri, 6 Oct 2006 10:41:30 -0500 Subject: [svn-r12726] added calls for the scale offset filter to the h5repack test script --- tools/h5repack/h5repack.sh.in | 15 +++++---------- tools/testfiles/test_scaleoffset.h5 | Bin 11052 -> 11052 bytes 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in index 645ccc2..e2b770b 100755 --- a/tools/h5repack/h5repack.sh.in +++ b/tools/h5repack/h5repack.sh.in @@ -19,12 +19,7 @@ USE_FILTER_DEFLATE="@USE_FILTER_DEFLATE@" USE_FILTER_SHUFFLE="@USE_FILTER_SHUFFLE@" USE_FILTER_FLETCHER32="@USE_FILTER_FLETCHER32@" USE_FILTER_NBIT="@USE_FILTER_NBIT@" -# -# Leave these tests off for now. Enable when filter is ready -: -#USE_FILTER_SCALEOFFSET="@USE_FILTER_SCALEOFFSET@" -USE_FILTER_SCALEOFFSET="no" - +USE_FILTER_SCALEOFFSET="@USE_FILTER_SCALEOFFSET@" H5REPACK=h5repack # The tool name H5REPACK_BIN=`pwd`/$H5REPACK # The path of the tool binary @@ -313,16 +308,16 @@ else TOOLTEST $arg fi -# scaleoffset add -arg="test_scaleoffset.h5 -f dset_none:S+O=31" +# scaleoffset copy +arg="test_scaleoffset.h5" if test $USE_FILTER_SCALEOFFSET != "yes" ; then SKIP $arg else TOOLTEST $arg fi -# scaleoffset copy -arg="test_scaleoffset.h5" +# scaleoffset add +arg="test_scaleoffset.h5 -f dset_none:SOFF=31,IN" if test $USE_FILTER_SCALEOFFSET != "yes" ; then SKIP $arg else diff --git a/tools/testfiles/test_scaleoffset.h5 b/tools/testfiles/test_scaleoffset.h5 index 5548e46..caf30cb 100644 Binary files a/tools/testfiles/test_scaleoffset.h5 and b/tools/testfiles/test_scaleoffset.h5 differ -- cgit v0.12