diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2006-10-31 14:49:04 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2006-10-31 14:49:04 +0000 |
| commit | 6121ec7f17056b1ec86ba5c59ece2b0356161ce4 (patch) | |
| tree | 5068649a9b9cfc99bdfde8a6a856ed6a573eb2e1 /qpid/java/client/test/build-module.xml | |
| parent | 1b2b1f1db808dd4f9969484e94310ea33b5cd9fb (diff) | |
| download | qpid-python-6121ec7f17056b1ec86ba5c59ece2b0356161ce4.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@469504 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client/test/build-module.xml')
| -rw-r--r-- | qpid/java/client/test/build-module.xml | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/qpid/java/client/test/build-module.xml b/qpid/java/client/test/build-module.xml index 8678338359..20206641bd 100644 --- a/qpid/java/client/test/build-module.xml +++ b/qpid/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> |
