diff options
author | Rafael H. Schloming <rhs@apache.org> | 2008-02-01 15:46:44 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2008-02-01 15:46:44 +0000 |
commit | 25d82c2c33727100bb1171fe9aa806be6348d97d (patch) | |
tree | af560f6a3c1d958e12d9f6dc9cd4e006913643d9 | |
parent | 662f7dddf17bfcdf9bfbe26bfe3d27b62de9673d (diff) | |
download | qpid-python-25d82c2c33727100bb1171fe9aa806be6348d97d.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/qpid@617524 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | java/module.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/module.xml b/java/module.xml index 2aee7d964a..40eb5d85c5 100644 --- a/java/module.xml +++ b/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> |