diff options
author | Rahul Chaudhry <rahulchaudhry@chromium.org> | 2015-02-03 10:52:18 -0800 |
---|---|---|
committer | Minux Ma <minux@golang.org> | 2015-02-06 05:36:26 +0000 |
commit | 8581d48c150a5f0197a591bf8ef8b1ece7218585 (patch) | |
tree | 82004148dc4722b6fc898640c3c1c8f4d7ad0b68 /test/nosplit.go | |
parent | d81cc374bedd670d8866a5721fcf5e601c35f13a (diff) | |
download | go-8581d48c150a5f0197a591bf8ef8b1ece7218585.tar.gz go-8581d48c150a5f0197a591bf8ef8b1ece7218585.zip |
test: check for build constraints only upto the first blank line
The main issue is that the misc/cgo/{stdio,life} tests are silently
getting skipped when invoked from run.bash.
run.go should ignore any build tags after the first blank line in
source file. It already checks for test actions only upto the first
blank line. Build tags must be specified in the same block.
See http://golang.org/cl/3675 for background.
Change-Id: Id8abf000119e3335f7250d8ef34aac7811fc9dff
Reviewed-on: https://go-review.googlesource.com/3812
Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'test/nosplit.go')
-rw-r--r-- | test/nosplit.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/nosplit.go b/test/nosplit.go index a639150511..0bd13c1db4 100644 --- a/test/nosplit.go +++ b/test/nosplit.go @@ -1,6 +1,5 @@ -// run - // +build !nacl +// run // Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style |