Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360705 - Add code coverage to p2 external tests
Summary: Add code coverage to p2 external tests
Status: CLOSED DUPLICATE of bug 319875
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.8.0 Juno   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 13:47 EDT by DJ Houghton CLA
Modified: 2011-12-12 10:49 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2011-10-12 13:47:17 EDT
Now that we have JaCoCo code coverage results as part of our builds, we should add the required command-line args to some of the p2 tests to get results. 

We have tests (reconciler, for instance) which do an install and run the reconciler in an external Eclipse instance. In this case, the code coverage isn't being tracked.

It is pretty straight forward to generate the .exec file, we can do it by adding to the command-line. (maybe in AbstractReconcilerTest.runEclipse?)

http://www.eclemma.org/jacoco/trunk/doc/agent.html
Comment 1 DJ Houghton CLA 2011-12-12 10:49:03 EST

*** This bug has been marked as a duplicate of bug 319875 ***