]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testcarchive: fix build
authorElias Naur <elias.naur@gmail.com>
Fri, 25 Mar 2016 00:27:34 +0000 (01:27 +0100)
committerElias Naur <elias.naur@gmail.com>
Fri, 25 Mar 2016 00:55:07 +0000 (00:55 +0000)
commit95add73abf50dedec79b58ce4c58664eccfcca4d
tree0d4bd8b3d85fc7f0782da7feb4d059dc466d9764
parent24ce64d1a967eb9c4f1a42e7371362b09920bd60
misc/cgo/testcarchive: fix build

I failed to rebase (and re-test) CL 21102 before submit, which meant
that two extra tests sneaked into testcarchive that still referenced
runtime.GOOS and runtime.GOARCH.

Convert the new tests.

While we're here, make sure pending tasks are flushed before running
the host tests. If not, the "##### misc/cgo/testcarchive" banner
and "PASS" won't show up in the all.bash output.

Change-Id: I41fc4ec9515f9a193fa052f7c31fac452153c897
Reviewed-on: https://go-review.googlesource.com/21106
Run-TryBot: Elias Naur <elias.naur@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
misc/cgo/testcarchive/carchive_test.go
src/cmd/dist/test.go