mirror of https://github.com/apache/lucene.git
allow isolation of a single unit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150004 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7eb95be705
commit
7e199825c1
|
@ -284,9 +284,12 @@ Implementation-Vendor: Lucene
|
||||||
<classpath refid="junit.classpath"/>
|
<classpath refid="junit.classpath"/>
|
||||||
<formatter type="plain"/>
|
<formatter type="plain"/>
|
||||||
<formatter type="brief" usefile="false"/>
|
<formatter type="brief" usefile="false"/>
|
||||||
<batchtest fork="yes" todir="${junit.reports}">
|
<batchtest fork="yes" todir="${junit.reports}" unless="testcase">
|
||||||
<fileset dir="${junit.src}" includes="**/Test*.java" />
|
<fileset dir="${junit.src}" includes="**/Test*.java" />
|
||||||
</batchtest>
|
</batchtest>
|
||||||
|
<batchtest fork="yes" todir="${junit.reports}" if="testcase">
|
||||||
|
<fileset dir="${junit.src}" includes="**/${testcase}.java" />
|
||||||
|
</batchtest>
|
||||||
</junit>
|
</junit>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue