]> Cypherpunks repositories - gostls13.git/commit
test/run: always set goos and goarch
authorDavid du Colombier <0intro@gmail.com>
Thu, 24 Jul 2014 21:18:54 +0000 (23:18 +0200)
committerDavid du Colombier <0intro@gmail.com>
Thu, 24 Jul 2014 21:18:54 +0000 (23:18 +0200)
commit748e5db96d8412d2142afb15c9a3da62f410d45a
treeb4beb9d0ff3eb19e5e0e1877073690ffef71f5d0
parentc4807f6a845898deebda5db04a4c08ce8d772cc3
test/run: always set goos and goarch

Following CL 68150047, the goos and goarch
variables are not currently set when the GOOS
and GOARCH environment variables are not set.

This made the content of the build tag to be
ignored in this case.

This CL sets goos and goarch to runtime.GOOS
and runtime.GOARCH when the GOOS and GOARCH
environments variables are not set.

LGTM=aram, bradfitz
R=golang-codereviews, aram, gobot, rsc, dave, bradfitz
CC=golang-codereviews, rsc
https://golang.org/cl/112490043
test/run.go