From 4f6a2b9840f7894086a04e42ebf497b2d8fdbd33 Mon Sep 17 00:00:00 2001 From: Rémy Oudompheng Date: Mon, 28 Jan 2013 21:29:45 +0100 Subject: 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://golang.org/cl/7103051 --- test/fixedbugs/bug385_32.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/fixedbugs/bug385_32.go') diff --git a/test/fixedbugs/bug385_32.go b/test/fixedbugs/bug385_32.go index 5ac4136e7d..724ed93262 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 +} -- cgit v1.3