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> |
||
|---|---|---|
| .. | ||
| analysis | ||
| ast/astutil | ||
| buildutil | ||
| callgraph | ||
| gccgoexportdata | ||
| gcexportdata | ||
| internal | ||
| loader | ||
| packages | ||
| pointer | ||
| ssa | ||
| types/typeutil | ||
| vcs | ||