From 95add73abf50dedec79b58ce4c58664eccfcca4d Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 25 Mar 2016 01:27:34 +0100 Subject: 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 Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/cmd/dist/test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index d5bb1362fb..23d8c3939c 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -696,6 +696,7 @@ func (t *tester) registerHostTest(name, dirBanner, pkg string) { name: name, heading: dirBanner, fn: func(dt *distTest) error { + t.runPending(dt) return t.runHostTest(dirBanner, pkg) }, }) -- cgit v1.3