]> Cypherpunks repositories - gostls13.git/commit
cmd/go: rebuild external test package dependencies
authorRuss Cox <rsc@golang.org>
Thu, 8 Mar 2012 13:32:38 +0000 (08:32 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 8 Mar 2012 13:32:38 +0000 (08:32 -0500)
commit2b64e00f164e951f24221c0d4c5b3fb66a604531
tree293a70445e2040e303f6b253201e73d49b9493c4
parent5ca13f6378e0ded516ce8a2e3fb748d64b4b51d6
cmd/go: rebuild external test package dependencies

Was missing recompilation of packages imported only
by external test packages (package foo_test), primarily
because Root was not set, so those packages looked like
they were from a different Go tree, so they were not
recompiled if they already existed.

Also clean things up so that only one call to computeStale
is needed.

Fixes #3238.

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