test: Print timed out tests also on failure
These tests are considered successful, but they might also occur as part
of a failed run. Print their summary in that case too.
@@ -152,13 +152,14 @@ if [ -n "$SKIPPED" ]; then
echo "Tests skipped: $SKIPPED"
fi
+if [ ! -z "$TIMED_OUT" ]; then
+ echo "Tests timed out: $TIMED_OUT"
+fi
+
if [ "${RET}" -ne 0 ]; then
echo "Tests failed: $FAILED"
exit $RET
else
- if [ ! -z "$TIMED_OUT" ]; then
- echo "Tests timed out: $TIMED_OUT"
- fi
echo "All tests passed"
exit 0
fi
