diff options
Diffstat (limited to 'tools/testh5toh4')
-rw-r--r-- | tools/testh5toh4 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testh5toh4 b/tools/testh5toh4 index af224ff..7e4e0f2 100644 --- a/tools/testh5toh4 +++ b/tools/testh5toh4 @@ -295,5 +295,7 @@ if test $nerrors -eq 0 ; then echo "All h5toh4 tests passed." fi -$RM -r $OUTDIR +if test -z "$HDF5_NOCLEANUP"; then + $RM -r $OUTDIR +fi exit $nerrors |