Author: rhs
Date: Fri Feb 1 07:46:44 2008
New Revision: 617524
URL: http://svn.apache.org/viewvc?rev=617524&view=rev
Log:
added support for running one test, and made test output pretty
Modified:
incubator/qpid/trunk/qpid/java/module.xml
Modified: incubator/qpid/trunk/qpid/java/module.xml
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/module.xml?rev=617524&r1=617523&r2=617524&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/module.xml (original)
+++ incubator/qpid/trunk/qpid/java/module.xml Fri Feb 1 07:46:44 2008
@@ -155,15 +155,17 @@
</copy>
</target>
+ <property name="test" value="*Test"/>
+
<target name="test" depends="compile-tests" if="module.test.src.exists"
description="execute unit tests">
- <junit fork="yes" showoutput="true" haltonfailure="no" timeout="90000">
+ <junit fork="yes" printsummary="on" showoutput="no" haltonfailure="no"
timeout="90000">
<formatter type="plain"/>
<formatter type="xml"/>
<classpath refid="module.test.path"/>
<batchtest fork="yes" todir="${build.results}">
<fileset dir="${module.test.src}">
- <include name="**/*Test.java"/>
+ <include name="**/${test}.java"/>
</fileset>
</batchtest>
</junit>