print count of failing tests

SVN=121467
This commit is contained in:
Rob Pike 2008-06-06 13:38:16 -07:00
parent aebf31ff5d
commit 17ee7818de
1 changed files with 3 additions and 0 deletions

View File

@ -38,4 +38,7 @@ if ! diff run.out golden.out
then
failed=1
fi
echo 2>&1 $(grep -c '^BUG' run.out) tests are failing incorrectly
exit $failed