summaryrefslogtreecommitdiff
path: root/java/client
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2006-10-31 14:49:04 +0000
committerMartin Ritchie <ritchiem@apache.org>2006-10-31 14:49:04 +0000
commit2c78ceb1faaad9c9e57ad7c815ceea82f9ff15a1 (patch)
tree2b350e8cafce012d0fa76056d0e663778378332b /java/client
parent241268194081a2ec3d3acc7ea147ca1e085bbcee (diff)
downloadqpid-python-2c78ceb1faaad9c9e57ad7c815ceea82f9ff15a1.tar.gz
Additions to build system to cause junit to produce a report
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469504 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client')
-rw-r--r--java/client/test/build-module.xml42
1 files changed, 25 insertions, 17 deletions
diff --git a/java/client/test/build-module.xml b/java/client/test/build-module.xml
index 8678338359..20206641bd 100644
--- a/java/client/test/build-module.xml
+++ b/java/client/test/build-module.xml
@@ -16,25 +16,33 @@
-
-->
<project name="Client Tests" default="build">
- <property name="module.depends" value="client broker broker/test common"/>
- <property name="module.dist" value="true"/>
+ <property name="module.depends" value="client broker broker/test common"/>
+ <property name="module.dist" value="true"/>
- <import file="../../module.xml"/>
+ <import file="../../module.xml"/>
- <target name="test" depends="build">
- <junit fork="yes" showoutput="true" haltonfailure="yes">
- <test name="org.apache.qpid.client.AllClientUnitTests"/>
- <formatter type="plain"/>
- <classpath refid="module.class.path"/>
- </junit>
- </target>
+ <target name="test" depends="build">
+ <junit fork="yes" showoutput="true" haltonfailure="yes">
+ <test name="org.apache.qpid.client.AllClientUnitTests"/>
+ <formatter type="plain"/>
+ <classpath refid="module.class.path"/>
+ </junit>
+ </target>
+
+ <target name="testreport" depends="build">
+ <junit fork="yes" printsummary="yes" haltonfailure="no">
+ <test name="org.apache.qpid.client.AllClientUnitTests" fork="yes" todir="${module.test.reports}"/>
+ <formatter type="xml" />
+ <classpath refid="module.class.path" />
+ </junit>
+
+ <junitreport todir="${module.test.reports}">
+ <fileset dir="${module.test.reports}">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report todir="${module.test.reports}"/>
+ </junitreport>
+ </target>
- <target name="xmltest" depends="build">
- <junit fork="yes" showoutput="true" haltonfailure="no">
- <test name="org.apache.qpid.client.AllClientUnitTests"/>
- <formatter type="xml" usefile="junit.report.xml"/>
- <classpath refid="module.class.path"/>
- </junit>
- </target>
</project>