mirror of
https://github.com/golang/go
synced 2024-11-18 23:14:43 -07:00
go/types: in TestStdlib, skip 2 packages that use vendoring
(gcimporter does not support vendoring---see issue #13756) Change-Id: Ief4101e4f33007d497ed1519845febfcffdded38 Reviewed-on: https://go-review.googlesource.com/18193 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
f75338cbc6
commit
e3e5aae018
@ -189,6 +189,13 @@ func typecheck(t *testing.T, path string, filenames []string) {
|
||||
files = append(files, file)
|
||||
}
|
||||
|
||||
// gcimporter doesn't support vendored imports.
|
||||
// TODO(gri): fix.
|
||||
if strings.HasSuffix(path, "src/cmd/internal/objfile") ||
|
||||
strings.HasSuffix(path, "src/net/http") {
|
||||
return
|
||||
}
|
||||
|
||||
// typecheck package files
|
||||
var conf Config
|
||||
conf.Error = func(err error) { t.Error(err) }
|
||||
|
Loading…
Reference in New Issue
Block a user