diff options
author | Russ Cox <rsc@golang.org> | 2009-07-29 15:11:19 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-07-29 15:11:19 -0700 |
commit | 07ad1cb219877f63914ba8050bb3fac8c5266ae2 (patch) | |
tree | 7ff06efa8ac0cbfdc9a1931b07fdc57eac36d2e4 /test/run | |
parent | 2901dbd3e1108902b7b01fbf4404df1978cd9174 (diff) | |
download | go-07ad1cb219877f63914ba8050bb3fac8c5266ae2.tar.gz |
tweak final line of test output:
4 known bugs; 0 unexpected bugs
which should be less scary to people
unfamiliar with the tests.
R=r
DELTA=44 (29 added, 12 deleted, 3 changed)
OCL=32460
CL=32464
Diffstat (limited to 'test/run')
-rwxr-xr-x | test/run | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -34,8 +34,10 @@ TMP2FILE=/tmp/gotest2-$$-$USER # on thresher, 3GB suffices to run the tests; with 2GB, peano fails. ulimit -v 4000000 -for dir in . ken chan interface bugs fixedbugs +for dir in . ken chan interface fixedbugs bugs do + echo + echo '==' $dir'/' for i in $dir/*.go do export F=$(basename $i .go) @@ -80,6 +82,9 @@ then failed=1 fi -echo 2>&1 $(grep -c '^BUG' run.out) tests are behaving incorrectly +notinbugs=$(sed '/^== bugs/q' run.out | grep -c '^BUG') +inbugs=$(sed '1,/^== bugs/d' run.out | grep -c '^BUG') + +echo 2>&1 $inbugs known bugs';' $notinbugs unexpected bugs exit $failed |