-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: TestScript expects go.env to contain GOTOOLCHAIN=auto #60685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@qmuntal, does setting (If not, perhaps we need a test hook to override the default |
Almost, the only remaining failure is script_test.go:158: FAIL: testdata/script/gotoolchain_local.txt:11: stdout auto: no match for `(?m)auto` in stdout |
That one seems like just an erroneous expectation in the test. Want to send a CL to clean it up? |
Suro + done! |
Change https://go.dev/cl/502035 mentions this issue: |
Thanks! |
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: