aboutsummaryrefslogtreecommitdiff
path: root/src/debug/plan9obj
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2022-11-04 16:42:52 -0400
committerMichael Matloob <matloob@golang.org>2022-11-04 21:29:32 +0000
commit6d58aea5d412d135ec08463db515ee9453c508b5 (patch)
tree8ce748c0552a8c541bd8e514db1403c9a04e4b06 /src/debug/plan9obj
parentbdd1e283a914d4d161589adce4f2ad79767d029d (diff)
downloadgo-6d58aea5d412d135ec08463db515ee9453c508b5.tar.xz
cmd/go: use clean GOCACHE in TestNewReleaseRebuildsStalePackagesInGOPATH
Now that most GOROOT packages do not have install targets, their staleness depends on whether their builds have been cached. That means that, from a clean cache, once TestNewReleaseRebuildsStalePackagesInGOPATH builds certain targets, they will stay non-stale for the second run of the test, becasue the will still be in the cache. So the first run of the test from a clean cache will pass and the second will fail. Set GOCACHE to a temporary directory in the test to use a clean cache and avoid this. Change-Id: I91f954138a4723d81545134441148badbfc515f5 Reviewed-on: https://go-review.googlesource.com/c/go/+/448018 Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/debug/plan9obj')
0 files changed, 0 insertions, 0 deletions