summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/client/test/build-module.xml24
1 files changed, 20 insertions, 4 deletions
diff --git a/java/client/test/build-module.xml b/java/client/test/build-module.xml
index 20206641bd..043842505d 100644
--- a/java/client/test/build-module.xml
+++ b/java/client/test/build-module.xml
@@ -22,18 +22,34 @@
<import file="../../module.xml"/>
<target name="test" depends="build">
- <junit fork="yes" showoutput="true" haltonfailure="yes">
- <test name="org.apache.qpid.client.AllClientUnitTests"/>
+ <echo>Client Tests</echo>
+ <junit fork="yes" printsummary="yes" showoutput="true" haltonfailure="yes" timeout="30000">
+ <sysproperty key="amqj.noAutoCreateVMBroker" value="true"/>
<formatter type="plain"/>
<classpath refid="module.class.path"/>
+
+ <batchtest fork="yes" todir="${module.test.reports}">
+ <fileset dir="${module.src}">
+ <include name="**/test/unit/**/*Test.java"/>
+ <exclude name="**/test/unit/**/*UnitTests.java"/>
+ </fileset>
+ </batchtest>
</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}"/>
+ <echo>Client Tests with Report</echo>
+ <junit fork="yes" printsummary="yes" haltonfailure="no" timeout="30000">
+ <sysproperty key="amqj.noAutoCreateVMBroker" value="true"/>
<formatter type="xml" />
<classpath refid="module.class.path" />
+
+ <batchtest fork="yes" todir="${module.test.reports}">
+ <fileset dir="${module.src}">
+ <include name="**/test/unit/**/*Test.java"/>
+ <exclude name="**/test/unit/**/*UnitTests.java"/>
+ </fileset>
+ </batchtest>
</junit>
<junitreport todir="${module.test.reports}">