summaryrefslogtreecommitdiff
path: root/qpid/java/module.xml
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-02-01 15:46:44 +0000
committerRafael H. Schloming <rhs@apache.org>2008-02-01 15:46:44 +0000
commit473319118f6a33bc42850512275ea606b60d9a08 (patch)
treeb9a0e008cb498ad813f9d2031c6ce7ff75be4768 /qpid/java/module.xml
parent58805756cfb21c7e9c821ad0f208b38a9f6e2c1c (diff)
downloadqpid-python-473319118f6a33bc42850512275ea606b60d9a08.tar.gz
added support for running one test, and made test output pretty
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@617524 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/module.xml')
-rw-r--r--qpid/java/module.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/qpid/java/module.xml b/qpid/java/module.xml
index 2aee7d964a..40eb5d85c5 100644
--- a/qpid/java/module.xml
+++ b/qpid/java/module.xml
@@ -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>