PR: MPTEST-59
test:single should ignore maven.test.skip=true git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@387988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5bafff842c
commit
2b1a308ccf
@ -226,8 +226,7 @@
|
||||
|
||||
|
||||
<goal name="test:single"
|
||||
description="Execute a single test defined using the 'testcase' variable"
|
||||
prereqs="test:compile">
|
||||
description="Execute a single test defined using the 'testcase' variable">
|
||||
|
||||
<j:if test="${unitTestSourcesPresent == 'true'}">
|
||||
|
||||
@ -241,6 +240,12 @@
|
||||
|
||||
<j:otherwise>
|
||||
|
||||
<!-- Make sure test classes are compiled -->
|
||||
<j:set var="testSkipOld" value="${maven.test.skip}"/>
|
||||
<j:set var="maven.test.skip" scope="parent" value="false"/>
|
||||
<attainGoal name="test:compile"/>
|
||||
<j:set var="maven.test.skip" scope="parent" value="${testSkipOld}"/>
|
||||
|
||||
<taskdef
|
||||
name="junit"
|
||||
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.8-SNAPSHOT" date="in SVN">
|
||||
<action dev="ltheussl" type="fix" issue="MPTEST-59"><code>test:single</code> should ignore <code>maven.test.skip=true</code>.</action>
|
||||
<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>
|
||||
|
||||
@ -114,6 +114,7 @@
|
||||
<td>
|
||||
Set this to 'true' to bypass unit tests entirely. Its use
|
||||
is <b>NOT RECOMMENDED</b>, but quite convenient on occasion.
|
||||
Ignored by <code>test:single</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user