PR: MPTEST-43
Set junit's showoutput attribute if Maven is executed in debug (-X) mode. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@388933 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
575690f73b
commit
0e51f0abbc
2 files changed
+5
-1
No files matched your search
+4
-1
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user