always use relpath on --test file args, refactor execute in junit_run, add more integration tests

Review Request #1976 - Created March 23, 2015 and submitted

Information
Nick Howard (Twitter)
pants
1313
c2f6e49...
Reviewers
pants-reviews
ity, jsirois, tejal, zundel
Specifying the test to run prefixed with ./ fails because the ./ causes the src path to not match the paths in the classes_by_source product. This changes that so it will always create the relpath when trying to derive the classes.

It also refactors execute to reduce nesting and clarify some of the flag / config interactions.

wrote regression test that fails, changed implementation to make it pass. CI baking here https://travis-ci.org/pantsbuild/pants/builds/55514326

John Sirois
Nick Howard (Twitter)
John Sirois
Nick Howard (Twitter)
Eric Ayers
Eric Ayers
Nick Howard (Twitter)
Review request changed

Status: Closed (submitted)

Change Summary:

submitted at eac58266a1459d09a199debae7bb783dd2422cd7

Loading...