]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: create test binary in temp directory
authorIan Lance Taylor <iant@golang.org>
Fri, 26 Feb 2016 21:05:35 +0000 (13:05 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 26 Feb 2016 21:24:42 +0000 (21:24 +0000)
commita131a66e63d805db05bb320146815ee053a1c258
tree557028fb22952a1be04e1f6f9751ed8613060ce0
parentb66a892358d2ca5ee7008ceeeda050d9f64ce5a2
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>
src/cmd/compile/internal/gc/global_test.go