summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/runtests.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/runtests.sh b/test/runtests.sh
index 50cc0d0..8307eac 100755
--- a/test/runtests.sh
+++ b/test/runtests.sh
@@ -4,6 +4,7 @@ TESTS="$@"
RET=0
TIMEOUT=10
+FAILED=""
for t in $TESTS; do
echo Running test $t
@@ -13,8 +14,13 @@ for t in $TESTS; do
echo "Test $t timed out (may not be a failure)"
elif [ "${r}" -ne 0 ]; then
echo Test $t failed
+ FAILED="$FAILED $t"
RET=1
fi
done
+if [ "${RET}" -ne 0 ]; then
+ echo "Tests $FAILED failed"
+fi
+
exit $RET