tools/go/packages
Michael Matloob c5b00d9557 go/packages: fix build breakage caused by math/bits to unsafe dep
Our tests compare import graphs from go/packages to expected graphs,
and one of the test cases imports math/bits. But in tip math/bits
picked up a dependency on unsafe, which means the expected graph
is different when run against a Go version >= go1.11. Remove that edge
before comparing against the expected graph to work around the breakage.

Change-Id: Ic586a75ba530741d251df9f87d0817a8e37d92ea
Reviewed-on: https://go-review.googlesource.com/c/151657
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2018-11-28 22:57:27 +00:00
..
gopackages go/packages: remove the Config.Error hook 2018-09-04 20:52:37 +00:00
packagestest go/packages/packagestest: allow expectations to have *regexp.Regexp and interface{} parameters 2018-11-27 23:25:45 +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: change driver communication mechanism 2018-11-21 18:20:56 +00:00
golist.go go/packages: use absolute path of dir in call to go list for file= query 2018-11-21 19:39:51 +00:00
golist_fallback.go go/packages: fix flaky TestJSON and reenable it on Go 1.10 2018-11-12 16:24:42 +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: fix minor godoc typo 2018-11-09 17:23:37 +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: fix build breakage caused by math/bits to unsafe dep 2018-11-28 22:57:27 +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 .s files from go list's CompiledGoFiles 2018-11-13 00:58:03 +00:00
visit.go go/packages: make visit order stable 2018-11-02 02:37:01 +00:00