aboutsummaryrefslogtreecommitdiff
path: root/test/nosplit.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-05-21 13:28:13 -0400
committerRuss Cox <rsc@golang.org>2015-05-21 17:32:03 +0000
commit0f4132c907d9749a1a41a20af7856065ee10de9e (patch)
tree11dd95099cee836043f2200dc3678eeb538da79a /test/nosplit.go
parent17eba6e6b72b9dbf24d73a84be22edd65c229631 (diff)
downloadgo-0f4132c907d9749a1a41a20af7856065ee10de9e.tar.gz
go-0f4132c907d9749a1a41a20af7856065ee10de9e.zip
all: build and use go tool compile, go tool link
This CL fixes the build to use the newly created go tool compile and go tool link in place of go tool 5g, go tool 5l, and so on. See golang-dev thread titled "go tool compile, etc" for background. Although it was not a primary motivation, this conversion does reduce the wall clock time and cpu time required for make.bash by about 10%. Change-Id: I79cbbdb676cab029db8aeefb99a53178ff55f98d Reviewed-on: https://go-review.googlesource.com/10288 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'test/nosplit.go')
-rw-r--r--test/nosplit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nosplit.go b/test/nosplit.go
index bd7a8ddac3..0fc8dc47f0 100644
--- a/test/nosplit.go
+++ b/test/nosplit.go
@@ -193,7 +193,7 @@ func main() {
thechar = strings.TrimSpace(string(gochar))
}
- version, err := exec.Command("go", "tool", thechar+"g", "-V").Output()
+ version, err := exec.Command("go", "tool", "compile", "-V").Output()
if err != nil {
bug()
fmt.Printf("running go tool %sg -V: %v\n", thechar, err)