From c81c867f225ea0cea6a802d3910d1e1c3c25d3e3 Mon Sep 17 00:00:00 2001 From: brett Date: Sun, 25 Apr 2004 02:24:36 +0000 Subject: [PATCH] PR: MPTEST-27 Submitted by: joseph benavidez allow specification of vars git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115042 13f79535-47bb-0310-9956-ffa450edef68 --- test/plugin.jelly | 16 ++++++++++++++++ test/plugin.properties | 1 + test/xdocs/changes.xml | 1 + test/xdocs/properties.xml | 18 ++++++++++++++++-- 4 files changed, 34 insertions(+), 2 deletions(-) diff --git a/test/plugin.jelly b/test/plugin.jelly index 035a04f6..eb6afdc9 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -121,6 +121,10 @@ + ${maven.junit.envvars} + + + ${maven.junit.jvmargs} @@ -173,6 +177,10 @@ + ${maven.junit.envvars} + + + ${maven.junit.jvmargs} @@ -225,6 +233,10 @@ + ${maven.junit.envvars} + + + ${maven.junit.jvmargs} @@ -298,6 +310,10 @@ + ${maven.junit.envvars} + + + diff --git a/test/plugin.properties b/test/plugin.properties index 115ba29e..a01ff3d5 100644 --- a/test/plugin.properties +++ b/test/plugin.properties @@ -24,6 +24,7 @@ maven.junit.dir = ${basedir} maven.junit.fork = no maven.junit.format=brief maven.junit.jvmargs= +maven.junit.envvars= maven.junit.jvm= maven.junit.printSummary=true maven.junit.usefile = true diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index b82c7a4a..15ea7c37 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -25,6 +25,7 @@ + add maven.junit.envvars property add maven.junit.jvm property accept maven.test.failure.ignore == false Honour maven.test.failure.ignore for test:single and test:match diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index 88a86f7d..63e40a32 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -195,8 +195,7 @@ Yes If fork is enabled, additional parameters may be passed to the new VM. - You can specify some args separate by space. - Each arg is describe in sub properties. + You can specify some args separated by a space. Sample : + + maven.junit.envvars + Yes + + If fork is enabled, additional environment variables may be passed to the new VM. + You can specify some variable separated by a space. + Each variable is describe in sub properties. + Sample : + + + + maven.junit.sysproperties Yes