Lines Matching full:go
3 --- test/fixedbugs/bug248.go
4 +++ test/fixedbugs/bug248.go
10 // Copyright 2009 The Go Authors. All rights reserved.
30 + return "go"
50 - run("go", "tool", "compile", "bug0.go")
51 - run("go", "tool", "compile", "bug1.go")
52 - run("go", "tool", "compile", "bug2.go")
53 - run(errchk, "go", "tool", "compile", "-e", "bug3.go")
54 - run("go", "tool", "link", "bug2.o")
56 + run(goCmd(), "tool", "compile", "bug0.go")
57 + run(goCmd(), "tool", "compile", "bug1.go")
58 + run(goCmd(), "tool", "compile", "bug2.go")
59 + run(errchk, goCmd(), "tool", "compile", "-e", "bug3.go")
70 --- test/fixedbugs/bug302.go
71 +++ test/fixedbugs/bug302.go
77 // Copyright 2010 The Go Authors. All rights reserved.
97 + return "go"
101 - run("go", "tool", "compile", filepath.Join("fixedbugs", "bug302.dir", "p.go"))
102 - run("go", "tool", "pack", "grc", "pp.a", "p.o")
103 - run("go", "tool", "compile", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
105 + run(goCmd(), "tool", "compile", filepath.Join("fixedbugs", "bug302.dir", "p.go"))
107 + run(goCmd(), "tool", "compile", "-I", ".", filepath.Join("fixedbugs", "bug302.dir", "main.go"))
116 --- test/fixedbugs/bug345.go
117 +++ test/fixedbugs/bug345.go
123 // Copyright 2011 The Go Authors. All rights reserved.
143 + return "go"
155 - run("go", "tool", "compile", "io.go")
156 - run(errchk, "go", "tool", "compile", "-e", "main.go")
157 + run(goCmd(), "tool", "compile", "io.go")
158 + run(errchk, goCmd(), "tool", "compile", "-e", "main.go")
167 --- test/fixedbugs/bug369.go
168 +++ test/fixedbugs/bug369.go
174 // Copyright 2011 The Go Authors. All rights reserved.
196 + return "go"
212 - run("go", "tool", "compile", "-N", "-o", "slow.o", "pkg.go")
213 - run("go", "tool", "compile", "-o", "fast.o", "pkg.go")
214 - run("go", "tool", "compile", "-o", "main.o", "main.go")
215 - run("go", "tool", "link", "-o", "a.exe", "main.o")
217 + run(goCmd(), "tool", "compile", "-N", "-o", "slow.o", "pkg.go")
218 + run(goCmd(), "tool", "compile", "-o", "fast.o", "pkg.go")
219 + run(goCmd(), "tool", "compile", "-o", "main.o", "main.go")
230 --- test/fixedbugs/bug429_run.go
231 +++ test/fixedbugs/bug429_run.go
237 // Copyright 2014 The Go Authors. All rights reserved.
241 // Run the bug429.go test.
260 + return "go"
273 - cmd := exec.Command("go", "run", filepath.Join("fixedbugs", "bug429.go"))
275 + cmd := goRun(filepath.Join("fixedbugs", "bug429.go"))
284 --- test/fixedbugs/issue10607.go
285 +++ test/fixedbugs/issue10607.go
291 // Copyright 2015 The Go Authors. All rights reserved.
314 + return "go"
334 …ut, err := exec.Command("go", "run", "-ldflags", "-B=0x12345678 -linkmode="+linkmode, filepath.Joi…
335 …"-B=0x12345678 -linkmode="+linkmode, filepath.Join("fixedbugs", "issue10607a.go")).CombinedOutput()
341 --- test/fixedbugs/issue11771.go
342 +++ test/fixedbugs/issue11771.go
348 // Copyright 2015 The Go Authors. All rights reserved.
374 + return "go"
383 dir, err := ioutil.TempDir("", "go-issue11771")
392 if err := ioutil.WriteFile(filepath.Join(dir, "x.go"), buf.Bytes(), 0666); err != nil {
396 - cmd := exec.Command("go", "tool", "compile", "x.go")
397 + cmd := exec.Command(goCmd(), "tool", "compile", "x.go")
406 --- test/fixedbugs/issue9355.go
407 +++ test/fixedbugs/issue9355.go
412 // Copyright 2014 The Go Authors. All rights reserved.
434 + return "go"
446 - out := run("go", "tool", "compile", "-S", "a.go")
447 + out := run(goCmd(), "tool", "compile", "-S", "a.go")
456 --- test/fixedbugs/issue9862_run.go
457 +++ test/fixedbugs/issue9862_run.go
463 // Copyright 2015 The Go Authors. All rights reserved.
483 + return "go"
496 - out, err := exec.Command("go", "run", "fixedbugs/issue9862.go").CombinedOutput()
498 + out, err := goRun("fixedbugs/issue9862.go").CombinedOutput()
501 println("go run issue9862.go succeeded, should have failed\n", outstr)
505 println("go run issue9862.go gave unexpected error; want symbol too large:\n", outstr)
507 --- test/linkmain_run.go
508 +++ test/linkmain_run.go
514 // Copyright 2014 The Go Authors. All rights reserved.
536 + return "go"
558 // helloworld.go is package main
559 - run("go tool compile -o linkmain.o helloworld.go")
560 - run("go tool compile -pack -o linkmain.a helloworld.go")
561 - run("go tool link -o linkmain.exe linkmain.o")
562 - run("go tool link -o linkmain.exe linkmain.a")
563 + run(goCmd() + " tool compile -o linkmain.o helloworld.go")
564 + run(goCmd() + " tool compile -pack -o linkmain.a helloworld.go")
568 // linkmain.go is not
569 - run("go tool compile -o linkmain1.o linkmain.go")
570 - run("go tool compile -pack -o linkmain1.a linkmain.go")
571 - runFail("go tool link -o linkmain.exe linkmain1.o")
572 - runFail("go tool link -o linkmain.exe linkmain1.a")
573 + run(goCmd() + " tool compile -o linkmain1.o linkmain.go")
574 + run(goCmd() + " tool compile -pack -o linkmain1.a linkmain.go")
579 --- test/linkobj.go
580 +++ test/linkobj.go
586 // Copyright 2016 The Go Authors. All rights reserved.
610 + return "go"
625 dir, err := ioutil.TempDir("", "go-test-linkobj-")
642 - run("go", "tool", "compile", pkg, "-D", ".", "-I", ".", "-l", "-o", "p1."+o, "-linkobj", "p1.lo"…
643 - run("go", "tool", "compile", pkg, "-D", ".", "-I", ".", "-l", "-o", "p2."+o, "-linkobj", "p2.lo"…
644 - run("go", "tool", "compile", pkg, "-D", ".", "-I", ".", "-l", "-o", "p3."+o, "-linkobj", "p3.lo"…
645 …), "tool", "compile", pkg, "-D", ".", "-I", ".", "-l", "-o", "p1."+o, "-linkobj", "p1.lo", "p1.go")
646 …), "tool", "compile", pkg, "-D", ".", "-I", ".", "-l", "-o", "p2."+o, "-linkobj", "p2.lo", "p2.go")
647 …), "tool", "compile", pkg, "-D", ".", "-I", ".", "-l", "-o", "p3."+o, "-linkobj", "p3.lo", "p3.go")
655 - out := runFail("go", "tool", "link", "p2."+o)
661 - run("go", "tool", "link", "-L", ".", "-o", "a.out.exe", "p3."+o)
673 --- test/linkx_run.go
674 +++ test/linkx_run.go
680 // Copyright 2014 The Go Authors. All rights reserved.
703 + return "go"
723 …xec.Command("go", "run", "-ldflags=-X main.tbd"+sep+"hello -X main.overwrite"+sep+"trumped -X main…
724 ….tbd"+sep+"hello -X main.overwrite"+sep+"trumped -X main.nosuchsymbol"+sep+"neverseen", "linkx.go")
742 - cmd = exec.Command("go", "run", "-ldflags=-X main.tbd", "linkx.go")
743 + cmd = goRun("-ldflags=-X main.tbd", "linkx.go")
751 - cmd = exec.Command("go", "run", "-ldflags=-X main.b=false -X main.x=42", "linkx.go")
752 + cmd = goRun("-ldflags=-X main.b=false -X main.x=42", "linkx.go")
761 --- test/nosplit.go
762 +++ test/nosplit.go
768 // Copyright 2014 The Go Authors. All rights reserved.
795 + return "go"
802 + fmt.Printf("running go env GOARCH: %v\n", err)
832 - version, err := exec.Command("go", "tool", "compile", "-V").Output()
836 fmt.Printf("running go tool compile -V: %v\n", err)
847 if err := ioutil.WriteFile(filepath.Join(dir, "main.go"), gobuf.Bytes(), 0666); err != nil {
851 - cmd := exec.Command("go", "build")
861 --- test/run.go
862 +++ test/run.go
937 --- test/sinit_run.go
938 +++ test/sinit_run.go
944 // Copyright 2014 The Go Authors. All rights reserved.
966 + return "go"
970 - cmd := exec.Command("go", "tool", "compile", "-S", "sinit.go")
972 + cmd := exec.Command(goCmd(), "tool", "compile", "-S", "sinit.go")