diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-08-25 16:40:42 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-08-25 16:40:42 (GMT) |
commit | fb326e551b1494c5d9eea1d8cf6a87e27350d06a (patch) | |
tree | 30b5501bd09dcbd9100e94746baa19aee84633d1 | |
parent | c2849aead829088d79efbacada4b230c3e6335d7 (diff) | |
parent | 71c03f65ebcf850b28f4775ccf2b095ec2285fff (diff) | |
download | hdf5-fb326e551b1494c5d9eea1d8cf6a87e27350d06a.zip hdf5-fb326e551b1494c5d9eea1d8cf6a87e27350d06a.tar.gz hdf5-fb326e551b1494c5d9eea1d8cf6a87e27350d06a.tar.bz2 |
Merge pull request #2837 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_10 to hdf5_1_10
* commit '71c03f65ebcf850b28f4775ccf2b095ec2285fff':
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 0b0c489..431f959 100644 --- a/tools/test/h5repack/h5repack.sh.in +++ b/tools/test/h5repack/h5repack.sh.in @@ -672,6 +672,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. |