Fixup Context to return all synthetic targets in-play.

Review Request #1863 - Created March 4, 2015 and submitted

Information
John Sirois
pants
jsirois/context/all_synthetic_targets
1200
be0fac4...
Reviewers
pants-reviews
dturner-tw, zundel
Previously just synthetic targets related directly to the target
roots were returned and this relied on synthetic targets derived from
interior nodes being discovered in some other way.

This also moves test_context.py to its proper home in pants_test/goal.

 src/python/pants/goal/context.py                        | 24 ++++++++++++++----------
 tests/python/pants_test/goal/BUILD                      |  2 ++
 tests/python/pants_test/{tasks => goal}/test_context.py | 24 ++++++++++++++++++++++--
 tests/python/pants_test/tasks/BUILD                     | 12 ------------
 4 files changed, 38 insertions(+), 24 deletions(-)
CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/53003220
Eric Ayers
David Turner
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...