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:
Erik Hatcher 2003-08-12 10:49:44 +00:00
parent 7eb95be705
commit 7e199825c1
1 changed files with 4 additions and 1 deletions

View File

@ -284,9 +284,12 @@ Implementation-Vendor: Lucene
<classpath refid="junit.classpath"/>
<formatter type="plain"/>
<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" />
</batchtest>
<batchtest fork="yes" todir="${junit.reports}" if="testcase">
<fileset dir="${junit.src}" includes="**/${testcase}.java" />
</batchtest>
</junit>
</target>