aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/nm
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2022-07-11 13:06:56 -0400
committerGopher Robot <gobot@golang.org>2022-07-11 18:57:03 +0000
commitad641e8521381886bc6274d78e986f2bb8ac561b (patch)
treedadcec77b085ac883b0357b583cdf27d0f77f329 /src/cmd/nm
parentbf5898ef53d1693aa572da0da746c05e9a6f15c5 (diff)
downloadgo-ad641e8521381886bc6274d78e986f2bb8ac561b.tar.xz
misc/cgo/testcarchive: don't rely on an erroneous install target in tests
Non-main packages in module mode should not be installed to GOPATH/pkg, but due to #37015 they were installed there anyway. This change switches the 'go install' command in TestPIE to instead use 'go build', and switches TestInstall and TestCachedInstall (which appear to be explicitly testing 'go install') to explicitly request GOPATH mode (which does have a well-defined install target). For #37015. Change-Id: Ifb24657d2781d1e35cf40078e8e3ebf56aab9cc8 Reviewed-on: https://go-review.googlesource.com/c/go/+/416954 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/nm')
0 files changed, 0 insertions, 0 deletions