+== ./
+
=========== ./cmp2.go
comparing uncomparable type []int
throw: interface compare
=========== ./turing.go
Hello World!
+== ken/
+
=========== ken/intervar.go
print 1 bio 2 file 3 -- abc
=========== ken/string.go
abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
+== chan/
+
=========== chan/nonblock.go
PASS
+== interface/
+
=========== interface/fail.go
*main.S is not main.I: missing method Foo
throw: interface conversion
panic PC=xxx
-=========== bugs/bug132.go
-BUG: compilation succeeds incorrectly
-
-=========== bugs/bug159.go
-abc: expected 4 5 6 got 4 4 -4
-BUG: bug159
-
-=========== bugs/bug162.go
-123
-BUG: should fail
-
-=========== bugs/bug169.go
-BUG: errchk: command succeeded unexpectedly
+== fixedbugs/
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint
throw: interface conversion
panic PC=xxx
+
+== bugs/
+
+=========== bugs/bug132.go
+BUG: compilation succeeds incorrectly
+
+=========== bugs/bug159.go
+abc: expected 4 5 6 got 4 4 -4
+BUG: bug159
+
+=========== bugs/bug162.go
+123
+BUG: should fail
+
+=========== bugs/bug169.go
+BUG: errchk: command succeeded unexpectedly
# 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)
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