Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/xlc
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 /xlc
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 'xlc')
-rw-r--r--xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml2
-rw-r--r--xlc/org.eclipse.cdt.errorparsers.xlc.tests/pom.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml b/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml
index 2a0dc10904a..f9656b5b418 100644
--- a/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml
+++ b/xlc/org.eclipse.cdt.core.lrparser.xlc.tests/pom.xml
@@ -23,7 +23,7 @@
<version>${tycho-version}</version>
<configuration>
<useUIHarness>false</useUIHarness>
- <argLine>-Xms256m -Xmx512m -XX:MaxPermSize=256M</argLine>
+ <argLine>${tycho.testArgLine} -Xms256m -Xmx512m -XX:MaxPermSize=256M</argLine>
<includes>
<include>**/XlcTestSuite.*</include>
</includes>
diff --git a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/pom.xml b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/pom.xml
index fe747cc0491..94c709902c3 100644
--- a/xlc/org.eclipse.cdt.errorparsers.xlc.tests/pom.xml
+++ b/xlc/org.eclipse.cdt.errorparsers.xlc.tests/pom.xml
@@ -23,7 +23,7 @@
<version>${tycho-version}</version>
<configuration>
<useUIHarness>false</useUIHarness>
- <argLine>-Xms256m -Xmx512m -XX:MaxPermSize=256M</argLine>
+ <argLine>${tycho.testArgLine} -Xms256m -Xmx512m -XX:MaxPermSize=256M</argLine>
<includes>
<include>**/AllXlcErrorParserTests.*</include>
</includes>

Back to the top