summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/h5repack.sh')
-rw-r--r--tools/h5repack/h5repack.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/tools/h5repack/h5repack.sh b/tools/h5repack/h5repack.sh
index f7b6526..df55359 100644
--- a/tools/h5repack/h5repack.sh
+++ b/tools/h5repack/h5repack.sh
@@ -66,9 +66,10 @@ TOOLTEST()
)
RET=$?
if [ $RET != 0 ] ; then
- echo "*FAILED*"
+ echo "*FAILED*"
+ nerrors="`expr $nerrors + 1`"
else
- echo " PASSED"
+ echo " PASSED"
fi
}
@@ -87,11 +88,11 @@ DIFFTEST()
fi
)
RET=$?
-# echo $RET
if [ $RET != 0 ] ; then
- echo "*FAILED*"
+ echo "*FAILED*"
+ nerrors="`expr $nerrors + 1`"
else
- echo " PASSED"
+ echo " PASSED"
fi
}
@@ -130,5 +131,8 @@ DIFFTEST test4.h5 test4.out.h5
TOOLTEST -i test4.h5 -o test4.out.h5 -e "h5repack_info.txt"
DIFFTEST test4.h5 test4.out.h5
+if test $nerrors -eq 0 ; then
+ echo "All $H5REPACK tests passed."
+fi
exit $nerrors