From 617a130cbc51aa8bd3c8615a2e9c1de4c03aa73d Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Thu, 4 Feb 2016 17:29:43 -0500 Subject: [PATCH] Fix jacoco agent not added to command line (code coverage) It seems that tycho.testArgLine doesn't get set again by tycho-surefire if it was set in the root properties. I orginally defined it to nothing so that it would be defined when running without jacoco. Instead, we can introduce a new variable and never touch tycho.testArgLine. Change-Id: I5f2969ad65292ad2e6fa84d3fb46bf925064981c Signed-off-by: Marc-Andre Laperle Reviewed-on: https://git.eclipse.org/r/65953 Reviewed-by: Hudson CI Reviewed-by: Matthew Khouzam Tested-by: Matthew Khouzam --- pom.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 165a6ec51c..02eae8b1ed 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,7 @@ UTF-8 UTF-8 - + 0.24.0 0.24.0 @@ -154,6 +154,9 @@ !skip-jacoco + + ${tycho.testArgLine} + @@ -482,7 +485,7 @@ org.eclipse.platform.ide - ${tycho.testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m + ${testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m -- 2.34.1