summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug385_32.go
diff options
context:
space:
mode:
authorR?my Oudompheng <oudomphe@phare.normalesup.org>2013-01-28 21:29:45 +0100
committerR?my Oudompheng <oudomphe@phare.normalesup.org>2013-01-28 21:29:45 +0100
commit7ef6780a1d45f7ba4fb61c81ef847c2a3d2e5ac3 (patch)
tree423ce47216f2d876555075ede1426da8b2bd84f5 /test/fixedbugs/bug385_32.go
parent2c2848f5dce77b7a6586a336f216b8fcc2f2a509 (diff)
downloadgo-7ef6780a1d45f7ba4fb61c81ef847c2a3d2e5ac3.tar.gz
test: add support for build tags.
This enables a few tests that were only executed unconditionnally. R=rsc, minux.ma, bradfitz CC=golang-dev https://codereview.appspot.com/7103051
Diffstat (limited to 'test/fixedbugs/bug385_32.go')
-rw-r--r--test/fixedbugs/bug385_32.go8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/fixedbugs/bug385_32.go b/test/fixedbugs/bug385_32.go
index 5ac4136e7..724ed9326 100644
--- a/test/fixedbugs/bug385_32.go
+++ b/test/fixedbugs/bug385_32.go
@@ -1,7 +1,5 @@
-// [ $A == 6 ] || errchk $G -e $D/$F.go
-
-// NOTE: This test is not run by 'run.go' and so not run by all.bash.
-// To run this test you must use the ./run shell script.
+// +build 386 arm
+// errorcheck
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
@@ -14,4 +12,4 @@ func main() {
var arr [1000200030]int // ERROR "type .* too large"
arr_bkup := arr
_ = arr_bkup
-} \ No newline at end of file
+}