aboutsummaryrefslogtreecommitdiff
path: root/test/checkbce.go
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2018-09-24 16:48:54 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-09-24 20:56:48 +0000
commitb3369063e52571be1cdf0e7a16f99b12c2a23914 (patch)
tree34a958e4c9da6a59e849851d874d724e56673b77 /test/checkbce.go
parent01b7c2db156cc40e928bb95ec7f980f0ab22aa26 (diff)
downloadgo-b3369063e52571be1cdf0e7a16f99b12c2a23914.tar.gz
go-b3369063e52571be1cdf0e7a16f99b12c2a23914.zip
test: skip some tests on noopt builder
Adds a new build tag "gcflags_noopt" that can be used in test/*.go tests. Fixes #27833 Change-Id: I4ea0ccd9e9e58c4639de18645fec81eb24a3a929 Reviewed-on: https://go-review.googlesource.com/136898 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'test/checkbce.go')
-rw-r--r--test/checkbce.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/checkbce.go b/test/checkbce.go
index 770c4c2a94..ef4e584ca0 100644
--- a/test/checkbce.go
+++ b/test/checkbce.go
@@ -1,4 +1,4 @@
-// +build amd64
+// +build amd64,!gcflags_noopt
// errorcheck -0 -d=ssa/check_bce/debug=3
// Copyright 2016 The Go Authors. All rights reserved.