diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-08-25 16:40:31 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-08-25 16:40:31 (GMT) |
commit | b4f4bd1d4c79db811a663f5df16c13d28340a81a (patch) | |
tree | 8e5bd295b266ae1ea78572510245e188fa7f191e | |
parent | e672014f2939606652ff2151d06db04ca65195d2 (diff) | |
parent | 336b30024216b142eb096bf85986786ecf65e993 (diff) | |
download | hdf5-b4f4bd1d4c79db811a663f5df16c13d28340a81a.zip hdf5-b4f4bd1d4c79db811a663f5df16c13d28340a81a.tar.gz hdf5-b4f4bd1d4c79db811a663f5df16c13d28340a81a.tar.bz2 |
Merge pull request #2839 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '336b30024216b142eb096bf85986786ecf65e993':
Add back function for VERIFY_EXTERNAL_CONSOLIDATION
-rw-r--r-- | tools/test/h5repack/h5repack.sh.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/test/h5repack/h5repack.sh.in b/tools/test/h5repack/h5repack.sh.in index 02f515c..18e6d86 100644 --- a/tools/test/h5repack/h5repack.sh.in +++ b/tools/test/h5repack/h5repack.sh.in @@ -678,6 +678,26 @@ VERIFY_INVALIDBOUNDS() } # end of VERIFY_INVALIDBOUNDS # ----------------------------------------------------------------------------- +# Expect h5diff to fail +# Use only by VERIFY_EXTERNAL_CONSOLIDATION +# ----------------------------------------------------------------------------- +DIFFFAIL() +{ + VERIFY h5diff unequal $@ + ( + cd $TESTDIR + $RUNSERIAL $H5DIFF_BIN -q "$@" + ) + RET=$? + if [ $RET == 0 ] ; then + echo "*FAILED*" + nerrors="`expr $nerrors + 1`" + else + echo " PASSED" + fi +} + +# ----------------------------------------------------------------------------- # Catchall test for repacking with external files # Loops over all (internally-listed) cases and applies the given arguments # to h5repack. |