Skip to content

Commit

Permalink
hdf5: Store the test comparison diff into a log file in case of mismatch
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed Oct 17, 2024
1 parent b11feba commit d540a10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/libs/hdf5/test-env-variables-new/C/H5T/test.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ do
if test $status -ne 0
then
echo " FAILED!"
diff -u tmp.test $srcdir/testfiles/$H5_LIBVER_DIR/$fname.tst > $fname.tst.diff.log
else
dumpout $fname.h5 >tmp.test
rm -f $fname.h5
Expand All @@ -76,6 +77,7 @@ do
if test $status -ne 0
then
echo " FAILED!"
diff -u tmp.test $srcdir/testfiles/$H5_LIBVER_DIR/$fname.ddl > $fname.ddl.diff.log
else
echo " Passed"
fi
Expand Down

0 comments on commit d540a10

Please sign in to comment.