]> Cypherpunks repositories - gostls13.git/commit
all: use testing.GoToolPath instead of "go"
authorKeith Randall <khr@golang.org>
Tue, 30 Aug 2016 18:08:47 +0000 (11:08 -0700)
committerKeith Randall <khr@golang.org>
Tue, 30 Aug 2016 22:49:11 +0000 (22:49 +0000)
commit842b05832fb5088a212e30962f58c95a38296d32
tree7454308e3546c1f3cd8ba9901ec282aa453b1645
parentbe23e98e06b1e1c65de19d460537c4df21ebf555
all: use testing.GoToolPath instead of "go"

This change makes sure that tests are run with the correct
version of the go tool.  The correct version is the one that
we invoked with "go test", not the one that is first in our path.

Fixes #16577

Change-Id: If22c8f8c3ec9e7c35d094362873819f2fbb8559b
Reviewed-on: https://go-review.googlesource.com/28089
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
26 files changed:
src/cmd/addr2line/addr2line_test.go
src/cmd/compile/internal/gc/asm_test.go
src/cmd/compile/internal/gc/builtin_test.go
src/cmd/compile/internal/gc/global_test.go
src/cmd/compile/internal/gc/ssa_test.go
src/cmd/cover/cover_test.go
src/cmd/go/go_windows_test.go
src/cmd/internal/obj/x86/obj6_test.go
src/cmd/nm/nm_test.go
src/cmd/objdump/objdump_test.go
src/cmd/pack/pack_test.go
src/cmd/vet/vet_test.go
src/crypto/x509/x509_test.go
src/debug/gosym/pclntab_test.go
src/debug/pe/file_test.go
src/go/internal/gcimporter/gcimporter_test.go
src/net/http/http_test.go
src/os/signal/signal_windows_test.go
src/runtime/crash_cgo_test.go
src/runtime/crash_test.go
src/runtime/crash_unix_test.go
src/runtime/race/output_test.go
src/runtime/race/race_test.go
src/runtime/race/testdata/cgo_test.go
src/runtime/runtime-gdb_test.go
src/runtime/runtime-lldb_test.go