Do fewer classpath calculations in `junit_run`

Review Request #2576 - Created Aug. 6, 2015 and submitted

Information
Stu Hood
pants
6e07ea0...
Reviewers
pants-reviews
areitz, benjyw, gmalmquist, nhoward_tw, patricklaw

Do fewer classpath calculations in junit_run.

  • Even when coverage is not enabled, we compute a global classpath for junit to pass to def instrument. Make this lazy.
  • In the case of a single target owning N tests, the batch would contain N tests for the same target. We would then re-calculate the same classpath repeatedly. Dedupe targets.

https://github.com/pantsbuild/pants/pull/1929

Stu Hood
Andy Reitz
Nick Howard (Twitter)
Garrett Malmquist
Stu Hood
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as 85de344c2ec4dec21259cd77b133d83f441412e3

Loading...