PR: MPTEST-39
Test failure doesn't halt execution of test suite. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@387982 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
baafe32fe2
commit
5bafff842c
2 files changed
+20
-21
No files matched your search
+19
-21
@@ -127,9 +127,14 @@
|
||||
name="junit"
|
||||
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
|
||||
/>
|
||||
|
||||
|
||||
<j:set var="_haltonfailure" value="no"/>
|
||||
<j:if test="${context.getVariable('maven.test.failure.ignore') != 'true'}">
|
||||
<j:set var="_haltonfailure" value="yes"/>
|
||||
</j:if>
|
||||
|
||||
<junit printSummary="${maven.junit.printSummary}"
|
||||
failureProperty="maven.test.failure"
|
||||
haltonfailure="${_haltonfailure}"
|
||||
fork="${maven.junit.fork}"
|
||||
forkmode="${maven.junit.forkmode}">
|
||||
|
||||
@@ -178,12 +183,6 @@
|
||||
</batchtest>
|
||||
</junit>
|
||||
|
||||
<j:if test="${maven.test.failure}">
|
||||
<j:if test="${context.getVariable('maven.test.failure.ignore') != 'true'}">
|
||||
<fail message="There were test failures."/>
|
||||
</j:if>
|
||||
</j:if>
|
||||
|
||||
</j:if>
|
||||
|
||||
<j:if test="${!unitTestSourcesPresent}">
|
||||
@@ -247,8 +246,13 @@
|
||||
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
|
||||
/>
|
||||
|
||||
<j:set var="_haltonfailure" value="no"/>
|
||||
<j:if test="${context.getVariable('maven.test.failure.ignore') != 'true'}">
|
||||
<j:set var="_haltonfailure" value="yes"/>
|
||||
</j:if>
|
||||
|
||||
<junit printSummary="${maven.junit.printSummary}"
|
||||
failureProperty="maven.test.failure"
|
||||
haltonfailure="${_haltonfailure}"
|
||||
fork="${maven.junit.fork}"
|
||||
dir="${maven.junit.dir}"
|
||||
forkmode="${maven.junit.forkmode}">
|
||||
@@ -287,12 +291,6 @@
|
||||
|
||||
</junit>
|
||||
|
||||
<j:if test="${maven.test.failure}">
|
||||
<j:if test="${context.getVariable('maven.test.failure.ignore') != 'true'}">
|
||||
<fail message="There were test failures."/>
|
||||
</j:if>
|
||||
</j:if>
|
||||
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
</j:if>
|
||||
@@ -332,8 +330,13 @@
|
||||
|
||||
<echo>Searching directory ${maven.test.searchdir}</echo>
|
||||
|
||||
<j:set var="_haltonfailure" value="no"/>
|
||||
<j:if test="${context.getVariable('maven.test.failure.ignore') != 'true'}">
|
||||
<j:set var="_haltonfailure" value="yes"/>
|
||||
</j:if>
|
||||
|
||||
<junit printSummary="${maven.junit.printSummary}"
|
||||
failureProperty="maven.test.failure"
|
||||
haltonfailure="${_haltonfailure}"
|
||||
fork="${maven.junit.fork}"
|
||||
dir="${maven.junit.dir}"
|
||||
forkmode="${maven.junit.forkmode}">
|
||||
@@ -390,11 +393,6 @@
|
||||
|
||||
</junit>
|
||||
|
||||
<j:if test="${maven.test.failure}">
|
||||
<j:if test="${context.getVariable('maven.test.failure.ignore') != 'true'}">
|
||||
<fail message="There were test failures."/>
|
||||
</j:if>
|
||||
</j:if>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
</j:if>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.8-SNAPSHOT" date="in SVN">
|
||||
<action dev="ltheussl" type="fix" issue="MPTEST-39">Test failure doesn't halt execution of test suite.</action>
|
||||
<action dev="aheritier" type="update" issue="MAVEN-1712">Update dependencies to match ones in maven 1.1 core and to unify them between plugins. The following dependencies are updated :
|
||||
<ul>
|
||||
<li>xercesImpl v 2.4.0 -> v2.6.2</li>
|
||||
|
||||
Reference in new issue
Block a user