Merge pull request #2839 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop

* commit '336b30024216b142eb096bf85986786ecf65e993':
  Add back function for VERIFY_EXTERNAL_CONSOLIDATION
This commit is contained in:
Allen Byrne 2020-08-25 11:40:31 -05:00
commit b4f4bd1d4c

View File

@ -677,6 +677,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