cmd/go: TestScript expects go.env to contain GOTOOLCHAIN=auto #60685
Labels
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Only with tip.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
GOROOT/go.env
, replacingGOTOOLCHAIN=auto
withGOTOOLCHAIN=local
.go tool dist test -run cmd/go
What did you expect to see?
All tests passed.
What did you see instead?
Some tests failed.
As per CL 462198, the original intent of having
go.env
was this:I'm trying to exercise this use case, changing the
GOTOOLCHAIN
default value instead (see #57001), and I can't get all tests to pass without patching a bunch of script tests.@rsc I might be missing something, as this feature is quite new, but I'll tentatively label this as release-blocker because it is a potential blocker for Linux distros, at least it is for the one I support at Microsoft.
The text was updated successfully, but these errors were encountered: