summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-25 20:38:28 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-25 20:38:28 (GMT)
commit9d94440384d20ab09297b8c451dfbda051ed6b17 (patch)
tree83c66c31c30c19b0935e3f70d90cacbe027d3bd1 /tools/h5repack
parentea1047de515e12e651e65c1b88c40b1c713f0b06 (diff)
downloadhdf5-9d94440384d20ab09297b8c451dfbda051ed6b17.zip
hdf5-9d94440384d20ab09297b8c451dfbda051ed6b17.tar.gz
hdf5-9d94440384d20ab09297b8c451dfbda051ed6b17.tar.bz2
[svn-r12815]
1) added a new parameter to the h5diff function diff_array that contains the beginning position of the hyperslab, so that the total position in the array is printed correctly when reading by hyperslabs. 2) added a new test to h5diff that reads and diffs by hyperslabs. The test reads a 1GB dataset, from which a 1KB hyperslab was written with differences . 3) added the generation of 2 files to the generator program to test the h5diff hyperslab read. 4) changed the h5diff binary pre-generated file names to be more descriptive (e.g, instead of file1.h5, made it h5diff_basic1.h5) 5) changed the name of the h5repack options text file to info.h5repack
Diffstat (limited to 'tools/h5repack')
-rwxr-xr-xtools/h5repack/h5repack.sh.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.sh.in b/tools/h5repack/h5repack.sh.in
index 5769783..ca0fa2e 100755
--- a/tools/h5repack/h5repack.sh.in
+++ b/tools/h5repack/h5repack.sh.in
@@ -30,6 +30,9 @@ 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
+
nerrors=0
verbose=yes
@@ -366,7 +369,7 @@ else
fi
#file
-arg="test4.h5 -e ../testfiles/h5repack_info.txt"
+arg="test4.h5 -e $INFO_FILE"
if test $USE_FILTER_DEFLATE != "yes" ; then
SKIP $arg
else