1
0
mirror of https://github.com/golang/go synced 2024-09-23 17:20:13 -06:00

test: exit non-zero on error from nilptr2.go.

(For go.tools/ssa/interp/interp_test, which runs a subset of
these tests under this assumption.)

R=rsc, r
CC=golang-dev
https://golang.org/cl/13108043
This commit is contained in:
Alan Donovan 2013-08-19 17:50:22 -04:00
parent ca2d32b46d
commit d96de0633c

View File

@ -6,6 +6,8 @@
package main
import "os"
func main() {
ok := true
for _, tt := range tests {
@ -21,6 +23,7 @@ func main() {
}
if !ok {
println("BUG")
os.Exit(1)
}
}