Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2014-08-28 18:11:05 +0000
committerMarc-Andre Laperle2014-08-28 19:40:26 +0000
commit97079f6ad098c3f7e0f413e2280f56e20848717c (patch)
tree325afdfc85152aa890a61cf693b71de7c2723c23 /core/org.eclipse.cdt.core.tests/pom.xml
parent9a25ff506e2e1e35439453aee236fc35f5527edb (diff)
downloadorg.eclipse.cdt-97079f6ad098c3f7e0f413e2280f56e20848717c.tar.gz
org.eclipse.cdt-97079f6ad098c3f7e0f413e2280f56e20848717c.tar.xz
org.eclipse.cdt-97079f6ad098c3f7e0f413e2280f56e20848717c.zip
Add missing arg for jacoco in in tests. Update jacoco.
Jacoco arguments are missing when executing certain tests. This happens when argLine is being overriden. We had the same problem in Linux Tools. We solved it by prepending the argLine with ${tycho.testArgLine}. This should help improving the Code coverage metric in Sonar. Also update the jacoco version to fix a bug when building with Java 8. Change-Id: I7f73f40488efc01fc7d643940c1ac0d5950c900d Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com> Reviewed-on: https://git.eclipse.org/r/32507 Tested-by: Hudson CI Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/pom.xml')
-rw-r--r--core/org.eclipse.cdt.core.tests/pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core.tests/pom.xml b/core/org.eclipse.cdt.core.tests/pom.xml
index 39beaf2e44..deff550357 100644
--- a/core/org.eclipse.cdt.core.tests/pom.xml
+++ b/core/org.eclipse.cdt.core.tests/pom.xml
@@ -33,7 +33,7 @@
<configuration>
<useUIHarness>false</useUIHarness>
<!-- Core tests actually use eclipse.ui classes, see CProjectHelper -->
- <argLine>${base.ui.test.vmargs} -ea -Xms256m -Xmx512m -XX:MaxPermSize=256M</argLine>
+ <argLine>${tycho.testArgLine} ${base.ui.test.vmargs} -ea -Xms256m -Xmx512m -XX:MaxPermSize=256M</argLine>
<includes>
<include>**/AutomatedIntegrationSuite.*</include>
</includes>

Back to the top