Revision: 5709
http://jython.svn.sourceforge.net/jython/?rev=5709&view=rev
Author: cgroves
Date: 2008-12-06 04:19:46 +0000 (Sat, 06 Dec 2008)
Log Message:
-----------
Add a target to run a single junit test from the tests directory. ant
-Dtest=InterpreterTest singlejavatest will run just
org.python.util.InterpreterTest and report to the console.
Modified Paths:
--------------
branches/newstyle-java-types/build.xml
Modified: branches/newstyle-java-types/build.xml
===================================================================
--- branches/newstyle-java-types/build.xml 2008-12-06 03:23:28 UTC (rev 5708)
+++ branches/newstyle-java-types/build.xml 2008-12-06 04:19:46 UTC (rev 5709)
@@ -763,6 +763,16 @@
</target>
<target name="test" depends="prepare-test,javatest,launchertest,regrtest"/>
+ <target name="singlejavatest" depends="compile,expose">
+ <junit haltonfailure="true" fork="true">
+ <formatter type="brief" usefile="false"/>
+ <sysproperty key="python.cachedir.skip" value="true"/>
+ <classpath refid="test.classpath"/>
+ <batchtest>
+ <fileset dir="${test.source.dir}" includes="**/${test}.java"/>
+ </batchtest>
+ </junit>
+ </target>
<target name="prepare-test" depends="init">
<!-- Clean any old test output -->
<delete dir="${junit.reports}"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|