Author: ltheussl
Date: Sun Mar 26 10:30:44 2006
New Revision: 388933

URL: http://svn.apache.org/viewcvs?rev=388933&view=rev
Log:
PR: MPTEST-43
Set junit's showoutput attribute if Maven is executed in debug (-X) mode.

Modified:
    maven/maven-1/plugins/trunk/test/plugin.jelly
    maven/maven-1/plugins/trunk/test/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/test/plugin.jelly
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/test/plugin.jelly?rev=388933&r1=388932&r2=388933&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/test/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/test/plugin.jelly Sun Mar 26 10:30:44 2006
@@ -119,7 +119,7 @@
 
   <goal name="test:test"
         description="Test the application">
-      
+
     <j:if test="${unitTestSourcesPresent == 'true' and 
context.getVariable('maven.test.skip') != 'true'}">
 
       <attainGoal name="test:compile"/>
@@ -146,6 +146,7 @@
              fork="${maven.junit.fork}"
              forkmode="${maven.junit.forkmode}">
 
+        <setProperty name="showoutput" value="${maven.debugOn}" />
         <j:if test="${context.getVariable('maven.junit.jvm') != null}">
           <setProperty name="jvm" value="${maven.junit.jvm}" />
         </j:if>
@@ -296,6 +297,7 @@
                  dir="${maven.junit.dir}"
                  forkmode="${maven.junit.forkmode}">
 
+            <setProperty name="showoutput" value="${maven.debugOn}" />
             <j:if test="${context.getVariable('maven.junit.jvm') != null}">
               <setProperty name="jvm" value="${maven.junit.jvm}" />
             </j:if>
@@ -403,6 +405,7 @@
                  dir="${maven.junit.dir}"
                  forkmode="${maven.junit.forkmode}">
 
+            <setProperty name="showoutput" value="${maven.debugOn}" />
             <j:if test="${context.getVariable('maven.junit.jvm') != null}">
               <setProperty name="jvm" value="${maven.junit.jvm}" />
             </j:if>

Modified: maven/maven-1/plugins/trunk/test/xdocs/changes.xml
URL: 
http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/test/xdocs/changes.xml?rev=388933&r1=388932&r2=388933&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/test/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/test/xdocs/changes.xml Sun Mar 26 10:30:44 2006
@@ -24,6 +24,7 @@
   </properties>
   <body>
     <release version="1.8-SNAPSHOT" date="in SVN">
+      <action dev="ltheussl" type="add" issue="MPTEST-43">Set junit's 
<code>showoutput</code> attribute if Maven is executed in debug (-X) 
mode.</action>
       <action dev="ltheussl" type="add" issue="MPTEST-47" due-to="Henning 
Schmiedehausen">Allow to add additional elements to the test classpath, new 
property <code>maven.test.classpath</code>.</action>
       <action dev="ltheussl" type="add" issue="MPTEST-36">Display a warning if 
some tests do not pass (and 
<code>maven.test.failure.ignore=true</code>).</action>
       <action dev="ltheussl" type="add" issue="MPTEST-10">Add timeouts to the 
test plugin, new property <code>maven.junit.timeout</code>.</action>


Reply via email to