summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-02-28 00:04:29 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-02-28 00:04:29 (GMT)
commit4899c9ab47b3e543a40dee3729a31c54807f0e9f (patch)
treea4d1b8e73423b600c5fbc367ffc1928482d5742e /tools
parentc9885a51d869c429d93c75a1dfaada3134535db9 (diff)
downloadhdf5-4899c9ab47b3e543a40dee3729a31c54807f0e9f.zip
hdf5-4899c9ab47b3e543a40dee3729a31c54807f0e9f.tar.gz
hdf5-4899c9ab47b3e543a40dee3729a31c54807f0e9f.tar.bz2
Misc improvement
Description: - Added test file for h5repack test VERIFY_INVALIDBOUNDS - Updated MANIFEST - Removed unnecessary header file in test - Update h5repack script to copy the new file to the test location Platforms tested: Linux/64 (jelly) Darwin (osx1010test)
Diffstat (limited to 'tools')
-rw-r--r--tools/test/h5repack/h5repack.sh.in4
-rw-r--r--tools/test/h5repack/testfiles/bounds_latest_latest.h5bin0 -> 82048 bytes
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in
index a34b75c..b0a2f99 100644
--- a/tools/test/h5repack/h5repack.sh.in
+++ b/tools/test/h5repack/h5repack.sh.in
@@ -82,6 +82,7 @@ test -d $TESTDIR || mkdir $TESTDIR
# Comment '#' without space can be used.
# --------------------------------------------------------------------
LIST_HDF5_TEST_FILES="
+$SRC_H5REPACK_TESTFILES/bounds_latest_latest.h5
$SRC_H5REPACK_TESTFILES/h5repack_attr.h5
$SRC_H5REPACK_TESTFILES/h5repack_attr_refs.h5
$SRC_H5REPACK_TESTFILES/h5repack_deflate.h5
@@ -534,7 +535,6 @@ VERIFY_SUPERBLOCK()
(
cd $TESTDIR
$RUNSERIAL $H5REPACK_BIN -j $lowbound -k $highbound $infile $outfile
-echo "$RUNSERIAL $H5REPACK_BIN -j $lowbound -k $highbound $infile $outfile"
)
RET=$?
if [ $RET != 0 ] ; then
@@ -575,6 +575,8 @@ VERIFY_INVALIDBOUNDS()
infile=$3
outfile=out-verbounds-low$lowbound-high$highbound.$infile
+ #--------------------------------------
+ # check for failure with invalid bounds
TESTING $H5REPACK $@
(
cd $TESTDIR
diff --git a/tools/test/h5repack/testfiles/bounds_latest_latest.h5 b/tools/test/h5repack/testfiles/bounds_latest_latest.h5
new file mode 100644
index 0000000..6e8bcad
--- /dev/null
+++ b/tools/test/h5repack/testfiles/bounds_latest_latest.h5
Binary files differ