1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:18:33 -06:00
go/go
Dmitri Shuralyov 9f6d4ad827 go/buildutil: use build.Import to find GOPATH containing x/tools
Previously, the test assumed that golang.org/x/tools was always in the
first GOPATH workspace. It may not be. Find it dynamically instead.

Fixes golang/go#19400.

Change-Id: I9c75d5ff1409aebd403d7ad4314b496fe1a04140
Reviewed-on: https://go-review.googlesource.com/94900
Run-TryBot: Dmitri Shuralyov <dmitri@shuralyov.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
2018-03-05 17:28:52 +00:00
..
ast/astutil go/ast/astutil: add Apply, for rewriting Go ASTs 2017-11-16 01:30:56 +00:00
buildutil go/buildutil: use build.Import to find GOPATH containing x/tools 2018-03-05 17:28:52 +00:00
callgraph go/callgraph/cha: fix bug computing correspondence of abstract/concrete methods 2018-02-21 01:23:17 +00:00
gccgoexportdata go/gccgoexportdata: correctly handle archive files containing string tables 2016-11-09 21:28:38 +00:00
gcexportdata go/gcexportdata: fix test again (fix older builds) 2017-06-08 21:12:18 +00:00
gcimporter15 go/gcimporter: update to latest copy from master 2017-04-25 22:48:49 +00:00
internal/gccgoimporter go/internal/gccgoimporter: parse optional escape info in export data 2018-01-11 04:04:09 +00:00
loader go/loader: Fix thinko in FindPackage hook signature 2017-07-05 16:38:48 +00:00
pointer go/...: fix/disable broken tests 2018-01-17 18:00:52 +00:00
ssa all: fix a few issues found by unparam 2018-02-13 22:52:51 +00:00
types/typeutil tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
vcs go/vcs: fix command injection in VCS path 2018-02-21 04:00:24 +00:00