summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/h5diff/Makefile.in4
-rwxr-xr-xtools/h5diff/testh5diff.sh10
2 files changed, 7 insertions, 7 deletions
diff --git a/tools/h5diff/Makefile.in b/tools/h5diff/Makefile.in
index 4a56caa..28dace9 100644
--- a/tools/h5diff/Makefile.in
+++ b/tools/h5diff/Makefile.in
@@ -42,6 +42,10 @@ LIB_SRC=
LIB_OBJ=$(LIB_SRC:.c=.lo)
PUB_LIB=
+## Temporary files. *.h5 are generated by h5diff. They should
+## copied to the testfiles/ directory if update is required.
+MOSTLYCLEAN=*.h5
+
## Source and object files for programs...
##
PROG_SRC=h5diff.c h5trav.c h5difftst.c
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index 6ffac1d..c106059 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -79,9 +79,9 @@ TOOLTEST() {
fi
# Clean up output file
-# if test -z "$HDF5_NOCLEANUP"; then
-# rm -f $actual $actual_err
-# fi
+ if test -z "$HDF5_NOCLEANUP"; then
+ rm -f $actual $actual_err
+ fi
}
##############################################################################
@@ -105,10 +105,6 @@ TOOLTEST h5diff_4.txt -d h5diff_test1.h5 h5diff_test2.h5
# test5: Check for invalid -d options
TOOLTEST h5diff_5.txt -d -4 h5diff_test1.h5 h5diff_test2.h5
-
-
-
-
if test $nerrors -eq 0 ; then
echo "All $H5DIFF tests passed."
fi