diff options
| author | Russ Cox <rsc@golang.org> | 2017-06-22 20:08:00 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2017-06-23 15:35:55 +0000 |
| commit | c23948a2b83bfbe21d2d721f38a7f18f737ba7bb (patch) | |
| tree | ec2f7d54121a1ea0f6b8b9f569c493ecb76c98a4 /src/runtime/sigqueue.go | |
| parent | 3445ece2128b0721cae4f6e84b159539acd314ef (diff) | |
| download | go-c23948a2b83bfbe21d2d721f38a7f18f737ba7bb.tar.xz | |
cmd/go: fix TestExecutableGOROOT when GOROOT_FINAL is set
If GOROOT_FINAL was set during the build, the default GOROOT
will not be testGOROOT. Determine the default GOROOT by reading
the right source file instead of guessing. (GOROOT_FINAL may no
longer be set when the test is actually run.)
Also refactor a bit.
Fixes #20284.
Change-Id: I2274595a235bee10c3f3a5ffecf4bb976f4d9982
Reviewed-on: https://go-review.googlesource.com/46428
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/sigqueue.go')
0 files changed, 0 insertions, 0 deletions
