cmd/compile/internal/types2: TestSelf fails if a built pkg/.../syntax.a doesn't exist #56573
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
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?
Unsure, there isn't a pre-release version of 1.20 yet.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Install Go on a Mac using the .pkg installer,
then run
go test -short cmd/compile/internal/types2
.What did you expect to see?
Passing tests.
What did you see instead?
Note this doesn't happen during all.bash.
I think the problem is that the test assumes that the
pkg/darwin_arm64/cmd/compile/internal/syntax.a
file exists. However, we drop pkg/goos_goarch/cmd/... files in the distribution to reduce size (seedropPatterns
), and these files will stop existing as part of #47257 (CC @matloob).Can reproduce this after all.bash with go1.19.3 like this:
The text was updated successfully, but these errors were encountered: