summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-06 15:41:30 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-06 15:41:30 (GMT)
commitaf51ee1e00f699f8c52ca2844932c4715b9bf1bd (patch)
tree9229569a738278f74004ecfa471fb760533adfd5
parentad80fe7ea97649a831087b52f1a81546000f7c7d (diff)
downloadhdf5-af51ee1e00f699f8c52ca2844932c4715b9bf1bd.zip
hdf5-af51ee1e00f699f8c52ca2844932c4715b9bf1bd.tar.gz
hdf5-af51ee1e00f699f8c52ca2844932c4715b9bf1bd.tar.bz2
[svn-r12726]
added calls for the scale offset filter to the h5repack test script
-rwxr-xr-xtools/h5repack/h5repack.sh.in15
-rw-r--r--tools/testfiles/test_scaleoffset.h5bin11052 -> 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
--- a/tools/testfiles/test_scaleoffset.h5
+++ b/tools/testfiles/test_scaleoffset.h5
Binary files differ