tools/go/buildutil
Michael Matloob 4ea155ddbd go/buildutil: get tests to pass when run from a module
These tests tried to access the user's GOPATH, which can't work if you're
running from a module! So use packagestest to set up a fake GOPATH.

Also remove a TODO that's never going to be done because we won't
be making more investments in go/build.

Change-Id: I379c74345ace91e6c4282a42ff62106bf325d0e0
Reviewed-on: https://go-review.googlesource.com/c/162757
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-02-14 18:55:18 +00:00
..
allpackages.go go/buildutil: ExpandPatterns: ignore a trailing slash in a pattern 2016-10-05 19:34:25 +00:00
allpackages_test.go go/buildutil: get tests to pass when run from a module 2019-02-14 18:55:18 +00:00
fakecontext.go go/...: make most tests pass with gccgo 2018-06-08 16:58:49 +00:00
overlay.go go/buildutil: fix doc reference 2016-12-05 17:11:22 +00:00
overlay_test.go go/buildutil, cmd/guru: extract overlay context into buildutil 2016-04-13 01:11:48 +00:00
tags.go go/buildutil: add (*TagsFlag).Get method to satisfy Getter interface 2016-02-21 00:49:10 +00:00
tags_test.go go/buildutil: TagsFlag provides a flag.Value for setting build.Context.BuildTags from -tags flag. 2015-04-23 14:10:21 +00:00
util.go x/tools/go/buildutil: remove unused function 2017-03-01 14:53:57 +00:00
util_test.go go/buildutil: get tests to pass when run from a module 2019-02-14 18:55:18 +00:00
util_windows_test.go go/buildutil: ignore path letters case in ContainingPackage on windows 2015-11-25 03:21:30 +00:00