diff --git a/go/loader/stdlib_test.go b/go/loader/stdlib_test.go index a76f62b860f..2d7c12e7156 100644 --- a/go/loader/stdlib_test.go +++ b/go/loader/stdlib_test.go @@ -7,8 +7,6 @@ package loader_test // This file enumerates all packages beneath $GOROOT, loads them, plus // their external tests if any, runs the type checker on them, and // prints some summary information. -// -// Run test with GOMAXPROCS=8. import ( "bytes" @@ -28,17 +26,6 @@ import ( "golang.org/x/tools/go/types" ) -// The set of packages that transitively depend on cmd/internal/objfile, -// which uses vendoring, which go/loader does not yet support. -// TODO(adonovan): add support for vendoring and delete this. -var skip = map[string]bool{ - "cmd/addr2line": true, - "cmd/internal/objfile": true, - "cmd/nm": true, - "cmd/objdump": true, - "cmd/pprof": true, -} - func TestStdlib(t *testing.T) { if runtime.GOOS == "android" { t.Skipf("incomplete std lib on %s", runtime.GOOS) @@ -55,9 +42,6 @@ func TestStdlib(t *testing.T) { ctxt.GOPATH = "" // disable GOPATH conf := loader.Config{Build: &ctxt} for _, path := range buildutil.AllPackages(conf.Build) { - if skip[path] { - continue - } conf.ImportWithTests(path) }