From d540a105dcc56f6d740b30d2eda4400d8504955f Mon Sep 17 00:00:00 2001 From: Martin Tzvetanov Grigorov Date: Thu, 17 Oct 2024 16:38:17 +0300 Subject: [PATCH] hdf5: Store the test comparison diff into a log file in case of mismatch Signed-off-by: Martin Tzvetanov Grigorov --- tests/libs/hdf5/test-env-variables-new/C/H5T/test.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/libs/hdf5/test-env-variables-new/C/H5T/test.sh.in b/tests/libs/hdf5/test-env-variables-new/C/H5T/test.sh.in index efffdb56df..f9acd0bc86 100755 --- a/tests/libs/hdf5/test-env-variables-new/C/H5T/test.sh.in +++ b/tests/libs/hdf5/test-env-variables-new/C/H5T/test.sh.in @@ -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 @@ -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