For all packages p, q where there's an dependency path of p.test -> ... -> q -> ... -> p, Go creates test variants q [p.test] of each q and replaces the dependency on q with a dependency on q [p.test], and replaces p with the expanded test variant p[p.test]. Fix the fallback logic to add these missing test variants. (Before this change, it was only producing the variant of p: p [p.test].) Fixes golang/go#27670 Change-Id: Ic56ba35fadcdf8c5928ec76f5a7b0ebe650c9f02 Reviewed-on: https://go-review.googlesource.com/136176 Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
gopackages | ||
doc.go | ||
example_test.go | ||
external.go | ||
golist.go | ||
golist_fallback.go | ||
golist_fallback_testmain.go | ||
packages.go | ||
packages110_test.go | ||
packages_test.go | ||
stdlib_test.go | ||
visit.go |