From d96de0633c2502b050478c96691727e67e7428be Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Mon, 19 Aug 2013 17:50:22 -0400 Subject: [PATCH] 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 --- test/nilptr2.go | 3 +++ 1 file changed, 3 insertions(+) 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) } } -- 2.48.1