]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix at least some instances of double compilation
authorRob Pike <r@golang.org>
Fri, 16 Aug 2013 02:49:51 +0000 (12:49 +1000)
committerRob Pike <r@golang.org>
Fri, 16 Aug 2013 02:49:51 +0000 (12:49 +1000)
commitf0fef323833b9b060024507a3229fa7bf9b523a8
treea9809cc6faa580fe57179dc26860ae8dfba57b7e
parent703b897f781a399c528a3fe1556762f2d9db3417
cmd/go: fix at least some instances of double compilation

When the packages the tested package depends on don't build,
we weren't getting out early. Added a simple check for a successful
build to an existing early out.

There may be other ways that double compilation arises, but
this fixes the one listed in the issue.
Fixes #5679

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/13036043
src/cmd/go/test.go