Commit d96de063 authored by Alan Donovan's avatar Alan Donovan

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
parent ca2d32b4
......@@ -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)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment