]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: unset CC when we remove it from PATH in TestScript/cgo_stale_precompiled
authorBryan C. Mills <bcmills@google.com>
Wed, 6 Dec 2023 14:50:42 +0000 (09:50 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 7 Dec 2023 19:13:27 +0000 (19:13 +0000)
commit77e76c4387d1ba69fc00e5e85e9e70f259675456
tree144fa43e92a7e15413c897ec94148f16e5750f70
parentb11d19e03b57d6cec1142002a22c3df732118847
cmd/go: unset CC when we remove it from PATH in TestScript/cgo_stale_precompiled

Otherwise, if make.bash produced a relative default CC path but the
user has an absolute path to CC set in their environment, the test
will fail spuriously.

For #64423.

Change-Id: I0f3e1d04851585e1b39266badcda9f17489332d9
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/547997
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/go/testdata/script/cgo_stale_precompiled.txt