Repository: maven-surefire Updated Branches: refs/heads/2.19.2-experimental 6153a0bfd -> d51cef543
switched off environment variables Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/d51cef54 Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/d51cef54 Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/d51cef54 Branch: refs/heads/2.19.2-experimental Commit: d51cef5434b29ba859b64aa37e5d34e15cb7b706 Parents: 6153a0b Author: Tibor17 <tibo...@lycos.com> Authored: Mon Mar 6 02:57:53 2017 +0100 Committer: Tibor17 <tibo...@lycos.com> Committed: Mon Mar 6 02:57:53 2017 +0100 ---------------------------------------------------------------------- .../plugin/surefire/booterclient/ForkConfiguration.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/d51cef54/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java ---------------------------------------------------------------------- diff --git a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java index 58754cf..5553b97 100644 --- a/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java +++ b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkConfiguration.java @@ -153,6 +153,8 @@ public class ForkConfiguration if ( argLine != null ) { + System.out.printf( "%d %s :: [ARG LINE] %s\n", System.currentTimeMillis(), getClass().getSimpleName(), + argLine ); cli.createArg().setLine( replaceThreadNumberPlaceholder( stripNewLines( replacePropertyExpressions( argLine ) ), threadNumber ) ); @@ -160,11 +162,15 @@ public class ForkConfiguration if ( environmentVariables != null ) { + System.out.printf( "%d %s :: [ENV] START\n", System.currentTimeMillis(), getClass().getSimpleName() ); for ( Map.Entry<String, String> entry : environmentVariables.entrySet() ) { String value = entry.getValue(); - cli.addEnvironment( entry.getKey(), value == null ? "" : value ); + //cli.addEnvironment( entry.getKey(), value == null ? "" : value ); + System.out.printf( "%d %s :: [ENV] %s=%s\n", System.currentTimeMillis(), getClass().getSimpleName(), + entry.getKey(), value ); } + System.out.printf( "%d %s :: [ENV] END\n", System.currentTimeMillis(), getClass().getSimpleName() ); } if ( getDebugLine() != null && !"".equals( getDebugLine() ) )