o MAVEN-213: Removes maven.test.failure between each run of test:test
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112958 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
<goal name="test:test"
|
||||
description="Test the application"
|
||||
prereqs="test:compile">
|
||||
|
||||
|
||||
<j:if test="${unitTestSourcesPresent == 'true'}">
|
||||
|
||||
<taskdef
|
||||
@@ -58,6 +58,8 @@
|
||||
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
|
||||
/>
|
||||
|
||||
${pom.getContext().removeVariable("maven.test.failure")}
|
||||
|
||||
<junit printSummary="yes"
|
||||
failureProperty="maven.test.failure"
|
||||
fork="${maven.junit.fork}"
|
||||
|
||||
Reference in New Issue
Block a user