diff options
-rwxr-xr-x | runtests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtests.sh b/runtests.sh index 77a2fa97..7cf018e2 100755 --- a/runtests.sh +++ b/runtests.sh @@ -177,9 +177,9 @@ done echo '------------------------------------------------------------' echo "----- overall results:" echo " $passed passed" -echo " $failed failed" -echo " $skipped skipped" -echo " $missing missing" +[ "$failed" -gt 0 ] && echo " $failed failed" +[ "$skipped" -gt 0 ] && echo " $skipped skipped" +[ "$missing" -gt 0 ] && echo " $missing missing" echo '------------------------------------------------------------' exit `expr $failed + $missing` |