| 1 | From: Shengjing Zhu <[email protected]> |
| 2 | Date: Tue, 7 Feb 2023 21:34:43 +0800 |
| 3 | Subject: Skip internal/gcimporter TestStdlib |
| 4 | |
| 5 | gopls/doc/generate.go:33:2: cannot find package "github.com/jba/printsrc" in any of: |
| 6 | /usr/lib/go-1.19/src/github.com/jba/printsrc (from $GOROOT) |
| 7 | /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jba/printsrc (from $GOPATH) |
| 8 | /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/golang.org/x/tools/gopls/doc/generate.go:33:2: could not import github.com/jba/printsrc (invalid package name: "") |
| 9 | stdlib_test.go:52: there were errors during loading |
| 10 | FAIL: TestStdlib (2.61s) |
| 11 | |
| 12 | Forwarded: not-needed |
| 13 | --- |
| 14 | internal/gcimporter/stdlib_test.go | 1 + |
| 15 | 1 file changed, 1 insertion(+) |
| 16 | |
| 17 | diff --git a/internal/gcimporter/stdlib_test.go b/internal/gcimporter/stdlib_test.go |
| 18 | index 3848841..f98842c 100644 |
| 19 | --- a/internal/gcimporter/stdlib_test.go |
| 20 | +++ b/internal/gcimporter/stdlib_test.go |
| 21 | @@ -21,6 +21,7 @@ import ( |
| 22 | // TestStdlib ensures that all packages in std and x/tools can be |
| 23 | // type-checked using export data. |
| 24 | func TestStdlib(t *testing.T) { |
| 25 | + t.Skip("needs github.com/jba/printsrc") |
| 26 | testenv.NeedsGoPackages(t) |
| 27 | |
| 28 | // gcexportdata.Read rapidly consumes FileSet address space, |