]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fix test to use correct go binary
authorKeith Randall <khr@golang.org>
Sat, 4 Nov 2017 21:09:50 +0000 (14:09 -0700)
committerKeith Randall <khr@golang.org>
Sun, 5 Nov 2017 23:29:01 +0000 (23:29 +0000)
commit989cc80167e0ec4e8c220f1aec308dbdf4b9b0e9
tree53e15cf8ec54665a19065e3aff63b196cd84df4b
parente5f6051e77b207561dd11ae72cc7451e5ab8bcf3
cmd/compile: fix test to use correct go binary

Use internal/testenv package to get the right go binary.
Otherwise, I think we're just grabbing an old one from the environment.

Fixes #22560.

Change-Id: Id5b743b24717e15ec8ffbcfae4dc3e5f6a87b9a9
Reviewed-on: https://go-review.googlesource.com/76090
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/gc/ssa_test.go