]> Cypherpunks repositories - gostls13.git/commit
test/run: use go tool compile + link instead of go run when possible
authorRuss Cox <rsc@golang.org>
Fri, 27 Oct 2017 18:11:21 +0000 (14:11 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 13:21:05 +0000 (13:21 +0000)
commit84dc501d202194b7b166de8371161a6222025b01
tree3206d65f5c1e205f91c6c67aa33e8772f358b82f
parent2e2047a07fea81f65170eca9562a649ba2f5b11d
test/run: use go tool compile + link instead of go run when possible

This cuts 6 seconds off all.bash with the new go command.
Not a ton, but also an easy 6 seconds to grab.

The -tags=use_go_run in the misc/cgo tests is just some
go command flag that will make run.go use go run,
but without making everything look stale.
(Those tests have relative imports,
so go tool compile+link is not enough.)

Change-Id: I43bf4bb661d3adde2b2d4aad5e8f64b97bc69ba9
Reviewed-on: https://go-review.googlesource.com/73994
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/life/main.go
misc/cgo/stdio/chain.go
misc/cgo/stdio/fib.go
misc/cgo/stdio/hello.go
test/run.go