Lines Matching full:goroot
171 if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") {
218 if tg.inParallel && (name == "GOROOT" || name == "GOPATH" || name == "GOBIN") && (strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata")) {
780 t.Skip("don't install into GOROOT in short mode")
1227 // godoc installs into GOROOT
1228 goroot := runtime.GOROOT()
1229 tg.setenv("GOROOT", goroot)
1230 tg.check(os.RemoveAll(filepath.Join(goroot, "bin", "godoc")))
1232 tg.wantExecutable(filepath.Join(goroot, "bin", "godoc"), "did not install godoc to $GOROOT/bin")
1253 t.Skip("don't install into GOROOT in short mode")
1261 goroot := runtime.GOROOT()
1262 tg.setenv("GOROOT", goroot)
1271 fixbin := filepath.Join(goroot, "pkg", "tool", goos+"_"+goarch, "fix") + exeSuffix
1274 tg.wantExecutable(fixbin, "did not install cmd/fix to $GOROOT/pkg/tool")
1278 tg.wantExecutable(fixbin, "did not install cmd/fix to $GOROOT/pkg/tool with $GOBIN set")
1374 if tg.grepCountBoth(regexp.QuoteMeta(filepath.Join("foo", "quxx"))+` \(from \$GOROOT\)$`) != 1 {
1375 t.Error(`go install foo/quxx expected error: .*foo/quxx (from $GOROOT)`)
1425 // Issue 4186. go get cannot be used to download packages to $GOROOT.
1435 tg.setenv("GOROOT", tg.path("."))
1439 // Test that with GOPATH=$GOROOT, go get should fail.
1448 tg.setenv("GOROOT", tg.path("."))
1632 want := "(_" + pwdForwardSlash + "/testdata/shadow/root1/src/math) (" + filepath.Join(runtime.GOROOT(), "src", "math") + ")"
1767 t.Skip("skipping test that removes $GOROOT/pkg/*_race in short mode")
1778 files, err := filepath.Glob(filepath.Join(runtime.GOROOT(), "pkg", "*_race"))