From: Alan Donovan Date: Mon, 19 Aug 2013 21:50:22 +0000 (-0400) Subject: test: exit non-zero on error from nilptr2.go. X-Git-Tag: go1.2rc2~484 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d96de0633c2502b050478c96691727e67e7428be;p=gostls13.git 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 --- diff --git a/test/nilptr2.go b/test/nilptr2.go index 57a5f8068f..250a0ee6a9 100644 --- a/test/nilptr2.go +++ b/test/nilptr2.go @@ -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) } }