]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: wait for pending tests before exiting
authorRuss Cox <rsc@golang.org>
Mon, 4 Jan 2016 20:03:45 +0000 (15:03 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 5 Jan 2016 14:18:38 +0000 (14:18 +0000)
commit906f97911951c5e33b8290a88a3badc1b328dae8
treed0fe36ad29bdae3d6070e8af3f5eada03153d0f1
parent4b0bc7c3a14ac446bc13d22098de8db382205401
cmd/dist: wait for pending tests before exiting

When 'go tool dist test' stops, it was intended that it first wait for
pending background tests, like a failed compilation waits for pending
background compiles. But these three lines prevented that.
Fix by deleting them. (The actual loop already contains the correct
logic to avoid running the others and to wait for what's left.)

Change-Id: I4e945495ada903fb0af567910626241bc1c52ba6
Reviewed-on: https://go-review.googlesource.com/18232
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/dist/test.go