Lines Matching full:gobin
91 os.Unsetenv("GOBIN")
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")) {
799 tg.setenv("GOBIN", tg.path("."))
1142 // Test that without $GOBIN set, binaries get installed
1156 gobin := filepath.Join(tg.pwd(), "testdata", "bin")
1157 tg.creatingTemp(gobin)
1158 tg.setenv("GOBIN", gobin)
1168 // With $GOBIN set, binaries get installed to $GOBIN.
1172 gobin := filepath.Join(tg.pwd(), "testdata", "bin1")
1173 tg.creatingTemp(gobin)
1174 tg.setenv("GOBIN", gobin)
1186 tg.setenv("GOBIN", pkg)
1193 // Without $GOBIN set, installing a program outside $GOPATH should fail
1202 // With $GOBIN set, should install there.
1206 gobin := filepath.Join(tg.pwd(), "testdata", "bin1")
1207 tg.creatingTemp(gobin)
1208 tg.setenv("GOBIN", gobin)
1216 // godoc installs into GOBIN
1220 tg.tempDir("gobin")
1222 tg.setenv("GOBIN", tg.path("gobin"))
1224 tg.wantExecutable(tg.path("gobin/godoc"), "did not install godoc to $GOBIN")
1225 tg.unsetenv("GOBIN")
1240 tg.tempDir("gobin")
1242 tg.setenv("GOBIN", tg.path("gobin"))
1259 tg.tempDir("gobin")
1276 tg.setenv("GOBIN", tg.path("gobin"))
1278 tg.wantExecutable(fixbin, "did not install cmd/fix to $GOROOT/pkg/tool with $GOBIN set")
1279 tg.unsetenv("GOBIN")
1281 // gopath program installs into GOBIN
1283 tg.setenv("GOBIN", tg.path("gobin"))
1285 tg.unsetenv("GOBIN")
1286 tg.wantExecutable(tg.path("gobin/progname")+exeSuffix, "did not install progname to $GOBIN/progname")