From b14dd1a5b7c57e0372799e7632e2b6fecdd47fde Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Mon, 28 Dec 2015 16:26:54 -0500 Subject: [PATCH] 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 --- go/importer/import_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/go/importer/import_test.go b/go/importer/import_test.go index 3a2560c17bb..95c373d8047 100644 --- a/go/importer/import_test.go +++ b/go/importer/import_test.go @@ -119,6 +119,11 @@ func TestImportStdLib(t *testing.T) { if testing.Short() && time.Since(start) >= 750*time.Millisecond { return } + if lib == "cmd/internal/objfile" || lib == "net/http" { + // gcimporter doesn't support vendored imports. + // TODO(gri): fix. + continue + } pkg, err := pkgForPath(lib) switch err := err.(type) {