1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:04:46 -07:00
go/cmd/callgraph
Alan Donovan 1bd72987c2 cmd/callgraph: use go/packages
Because go/packages presents each synthesized test main package
as a first-class package, the tests now analyze all of the dependencies
of "testing", which they previously avoided.  This makes the tests
slower and the resulting call graph much larger,
so they now look for a subset match, not an exact match,
on the set of graph edges.

Change-Id: I9d7acf420e41cbffc03ca8423f5afb3ef671d775
Reviewed-on: https://go-review.googlesource.com/128695
Reviewed-by: Ian Cottrell <iancottrell@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
2018-08-09 16:04:36 +00:00
..
testdata/src/pkg cmd/callgraph: use go/packages 2018-08-09 16:04:36 +00:00
main_test.go cmd/callgraph: use go/packages 2018-08-09 16:04:36 +00:00
main.go cmd/callgraph: use go/packages 2018-08-09 16:04:36 +00:00