Added the ability to selectively run a test

This commit is contained in:
Oliver Burn 2002-09-29 05:53:30 +00:00
parent 84c1f8375f
commit 856fdd282b
1 changed files with 2 additions and 1 deletions

View File

@ -341,6 +341,7 @@
<mkdir dir="${testreport.dir}"/>
<property name="testinputs.dir"
location="src/testinputs/com/puppycrawl/tools/checkstyle"/>
<property name="testcases" value="**/*Test.java"/>
<junit printsummary="yes"
fork="yes"
@ -352,7 +353,7 @@
<classpath refid="tests.runpath"/>
<batchtest todir="${testreport.dir}">
<fileset dir="src/tests">
<include name="**/*Test.java" />
<include name="${testcases}" />
</fileset>
</batchtest>
</junit>