]> Cypherpunks repositories - gostls13.git/commit
cmd/go: in TestScript/mod_outside, run 'go build' before checking cmd/addr2line staleness
authorBryan C. Mills <bcmills@google.com>
Mon, 21 Nov 2022 22:18:07 +0000 (17:18 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 22 Nov 2022 15:58:18 +0000 (15:58 +0000)
commit6ca3acc3709426bdc744ef9494314c33361f24bd
treeac39dbed960bddf603f8c0ab794ded788fb4d81c
parent86ede1727201c267497e984d623f6e859de8a3f2
cmd/go: in TestScript/mod_outside, run 'go build' before checking cmd/addr2line staleness

If the build cache is cleaned (using 'go clean -cache' or similar), or
if a toolchain is freshly installed without warming the cache, the
build cache might not contain the dependencies needed to verify that
cmd/addr2line is not stale. In that case, the test should refill the
cache instead of failing.

Fixes #56889.

Change-Id: Ic6cf13b92bafa9c795e50eb0e4e1a9ae00ee8538
Reviewed-on: https://go-review.googlesource.com/c/go/+/452458
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/testdata/script/mod_outside.txt