]> Cypherpunks.ru repositories - gostls13.git/commit
test: check for build constraints only upto the first blank line
authorRahul Chaudhry <rahulchaudhry@chromium.org>
Tue, 3 Feb 2015 18:52:18 +0000 (10:52 -0800)
committerMinux Ma <minux@golang.org>
Fri, 6 Feb 2015 05:36:26 +0000 (05:36 +0000)
commit8581d48c150a5f0197a591bf8ef8b1ece7218585
tree82004148dc4722b6fc898640c3c1c8f4d7ad0b68
parentd81cc374bedd670d8866a5721fcf5e601c35f13a
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>
test/gc2.go
test/nosplit.go
test/run.go