x/tools/internal/gcimporter: TestImportTypeparamTests depends on GOROOT/test/typeparam
#70081
Labels
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
https://github.com/golang/tools/blob/73d6794ebbd4a16f44bdf838c2aa5fe79a63830d/internal/gcimporter/gcimporter_test.go#L197
I don't know if this test is still relevant. But I noticed that this test tries to read the directory
runtime.GOROOT()/test/typeparam
.However, this
test/typeparam
directory does not exist in the toolchain module downloaded from the module proxy.For example, inspect https://proxy.golang.org/golang.org/toolchain/@v/v0.0.1-go1.22.0.darwin-amd64.zip
So, if the test runs with the toolchain downloaded from the module proxy (with toolchain switch), that can cause test failure.
The text was updated successfully, but these errors were encountered: