diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2018-02-28 00:04:29 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2018-02-28 00:04:29 (GMT) |
commit | 4899c9ab47b3e543a40dee3729a31c54807f0e9f (patch) | |
tree | a4d1b8e73423b600c5fbc367ffc1928482d5742e | |
parent | c9885a51d869c429d93c75a1dfaada3134535db9 (diff) | |
download | hdf5-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)
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | test/dtypes.c | 1 | ||||
-rw-r--r-- | tools/test/h5repack/h5repack.sh.in | 4 | ||||
-rw-r--r-- | tools/test/h5repack/testfiles/bounds_latest_latest.h5 | bin | 0 -> 82048 bytes |
4 files changed, 4 insertions, 2 deletions
@@ -2441,6 +2441,7 @@ #test files for h5repack ./tools/test/h5repack/testfiles/README +./tools/test/h5repack/testfiles/bounds_latest_latest.h5 ./tools/test/h5repack/testfiles/h5repack_aggr.h5 ./tools/test/h5repack/testfiles/h5repack_attr.h5 ./tools/test/h5repack/testfiles/h5repack_attr_refs.h5 diff --git a/test/dtypes.c b/test/dtypes.c index e480682..e98f6be 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -18,7 +18,6 @@ * Purpose: Tests the datatype interface (H5T) */ -#include "h5test.h" #include "testhdf5.h" #include "H5srcdir.h" #include "H5Iprivate.h" /* For checking that datatype id's don't leak */ 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 Binary files differnew file mode 100644 index 0000000..6e8bcad --- /dev/null +++ b/tools/test/h5repack/testfiles/bounds_latest_latest.h5 |