tools/go/packages
Ian Cottrell 06f26fdaaa go/packages/packagestest: Testing with multiple drivers
This extracts some of the test code from packages, and adds the ability to run
the same test with multiple drivers.
This should generally be useful for all tools that run on top of go/packages as
well when writing tests for them.

Change-Id: I88c596ad07c0782270c5798d92ae29f7549943cf
Reviewed-on: https://go-review.googlesource.com/c/140118
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2018-10-17 21:43:49 +00:00
..
gopackages go/packages: remove the Config.Error hook 2018-09-04 20:52:37 +00:00
packagestest go/packages/packagestest: Testing with multiple drivers 2018-10-17 21:43:49 +00:00
testdata go/packages: add name= query 2018-10-16 20:20:09 +00:00
doc.go go/packages: remove scary warning on documentation 2018-10-15 17:50:52 +00:00
example_test.go go/packages: remove the Config.Error hook 2018-09-04 20:52:37 +00:00
external.go go/packages: do not error out for patterns that match no packages 2018-09-28 12:33:17 +00:00
golist.go go/packages: don't spam stderr 2018-10-17 21:05:27 +00:00
golist_fallback.go go/packages: add ErrorKind field to differentiate error sources 2018-10-03 17:20:41 +00:00
golist_fallback_testmain.go go/packages: add missing test variants to fallback loader 2018-09-25 16:56:39 +00:00
packages.go go/packages: don't use os.LookupEnv 2018-10-16 15:13:54 +00:00
packages110_test.go go/packages: generate test main files from the golist fallback 2018-09-17 22:19:12 +00:00
packages_test.go go/packages/packagestest: Testing with multiple drivers 2018-10-17 21:43:49 +00:00
packagescgo_test.go go/packages: skip TestLoadImportsC when Go has been built without cgo 2018-10-05 20:28:39 +00:00
stdlib_test.go go/packages: remove the Config.Error hook 2018-09-04 20:52:37 +00:00
visit.go go/packages: remove the Config.Error hook 2018-09-04 20:52:37 +00:00