mirror of
https://github.com/golang/go
synced 2024-11-19 01:54:39 -07:00
go/importer: in TestImportStdLib, skip 2 packages that use vendoring
(See issue #13756) Change-Id: Icda14c34f3460e941ae092f147432c795465a077 Reviewed-on: https://go-review.googlesource.com/18195 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
9b7a39c6be
commit
b14dd1a5b7
@ -119,6 +119,11 @@ func TestImportStdLib(t *testing.T) {
|
|||||||
if testing.Short() && time.Since(start) >= 750*time.Millisecond {
|
if testing.Short() && time.Since(start) >= 750*time.Millisecond {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if lib == "cmd/internal/objfile" || lib == "net/http" {
|
||||||
|
// gcimporter doesn't support vendored imports.
|
||||||
|
// TODO(gri): fix.
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
pkg, err := pkgForPath(lib)
|
pkg, err := pkgForPath(lib)
|
||||||
switch err := err.(type) {
|
switch err := err.(type) {
|
||||||
|
Loading…
Reference in New Issue
Block a user