go/src/cmd/compile
Ian Lance Taylor a131a66e63 cmd/compile: create test binary in temp directory
The new TestDashS was leaving a dreg "test" file in
cmd/compile/internal/gc.  Create it in the temporary directory instead.

Also change path.Join to filepath.Join throughout global_test.go.

Change-Id: Ib7707fada2b3ab5e8abc2ba74e4c402821c1408b
Reviewed-on: https://go-review.googlesource.com/19965
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
2016-02-26 21:24:42 +00:00
..
internal cmd/compile: create test binary in temp directory 2016-02-26 21:24:42 +00:00
doc.go cmd/compile: document -trimpath 2015-11-16 20:38:34 +00:00
main.go cmd/compile: set log prefix and suppress date 2015-11-19 23:55:50 +00:00