diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-04-08 19:50:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-04-08 19:50:17 (GMT) |
commit | 5d20142327072a204a026f253835dda1e1afd593 (patch) | |
tree | 3d5599fcb67fc8e96af62b94c0039861636ca1ea /tools | |
parent | d9b2c2d930030388655b77c1e4df89287084bc79 (diff) | |
download | hdf5-5d20142327072a204a026f253835dda1e1afd593.zip hdf5-5d20142327072a204a026f253835dda1e1afd593.tar.gz hdf5-5d20142327072a204a026f253835dda1e1afd593.tar.bz2 |
[svn-r6596] Purpose:
Code cleanup/bug fix
Description:
Clean up files created during testing.
Solution:
Platforms tested:
FreeBSD 4.8 (sleipnir)
Linux 2.4 (eirene)
Misc. update:
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5diff/Makefile.in | 4 | ||||
-rwxr-xr-x | tools/h5diff/testh5diff.sh | 10 |
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 |