test/runtests.sh: list all failed tests when done
@@ -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
