aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2015-07-21 13:59:35 -0700
committerIan Lance Taylor <iant@golang.org>2015-07-22 21:16:53 +0000
commita5caa7c94eda915ee5e5ff82d81a22b8392d84aa (patch)
tree5f956ca547928560df0420bce22f58d5ea17e637 /src/os/exec
parent77d38d9cbe9b4047e7155569e7b9485093807e17 (diff)
downloadgo-a5caa7c94eda915ee5e5ff82d81a22b8392d84aa.tar.xz
cmd/go: for get -t and list, look up path in vendor directories
This is needed to handle vendor directories correctly. It was already done for the regular imports when the package was loaded, but not for the test-only imports. It would be nice to do this while loading the package, but that breaks the code that checks for direct references to vendor packages when running go test. This change is relatively contained. While we're at it, skip "C" test imports in go get. Fixes #11628. Fixes #11717. Change-Id: I9cc308cf45683e3ff905320c2b5cb45db7716846 Reviewed-on: https://go-review.googlesource.com/12488 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions