From: Jean Privat Date: Mon, 6 Jul 2009 17:29:48 +0000 (-0400) Subject: tests: tests.sh counts errors X-Git-Tag: v0.3~184 X-Git-Url: http://nitlanguage.org tests: tests.sh counts errors Signed-off-by: Jean Privat --- diff --git a/tests/tests.sh b/tests/tests.sh index 607b690..9effde9 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -178,7 +178,7 @@ echo "ok: " `echo $ok | wc -w` "/" `echo $ok $nok $nos | wc -w` if [ -n "$nok" ]; then echo "fail: $nok" - echo "There were errors ! (see file $ERRLIST)" + echo "There were $(echo $nok | wc -w) errors ! (see file $ERRLIST)" fi if [ -n "$nos" ]; then echo "no sav: $nos"