|
From: Hiram C. <ch...@us...> - 2002-07-24 03:08:21
|
User: chirino
Date: 02/07/23 20:08:20
Modified: . Tag: Branch_3_0 build.xml
Log:
Porting the objectweb jms testsuite to the 3.0 branch
Revision Changes Path
No revision
No revision
1.106.2.32 +46 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.106.2.31
retrieving revision 1.106.2.32
diff -u -r1.106.2.31 -r1.106.2.32
--- build.xml 20 Jul 2002 21:47:59 -0000 1.106.2.31
+++ build.xml 24 Jul 2002 03:08:20 -0000 1.106.2.32
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.106.2.31 2002/07/20 21:47:59 dsundstrom Exp $ -->
+<!-- $Id: build.xml,v 1.106.2.32 2002/07/24 03:08:20 chirino Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -2784,6 +2784,8 @@
<fileset dir="${build.classes}">
<include name="**/*UnitTestCase.class"/>
+ <!-- include the objectweb JMS tests -->
+ <include name="org/objectweb/jtests/**/*Test.class"/>
<!-- do not include the dyn loading or security tests -->
<exclude name="**/test/jrmp/test/DynLoadingUnitTestCase.class"/>
@@ -3582,6 +3584,49 @@
<fileset dir="${build.classes}">
<include name="org/jboss/test/${test}/*/*TestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <!--
+ | Run the JORAM JMS testsuite against JBossMQ
+ -->
+ <target name="tests-objectweb-jms" depends="compile-classes, compile-resources">
+ <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.testlog}"/>
+ <junit dir="${module.output}"
+ printsummary="${junit.printsummary}"
+ haltonerror="${junit.haltonerror}"
+ haltonfailure="${junit.haltonfailure}"
+ fork="${junit.fork}"
+ timeout="${junit.timeout}"
+ jvm="${junit.jvm}">
+
+ <jvmarg value="${junit.jvm.options}"/>
+ <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/>
+ <sysproperty key="build.testlog" value="${build.testlog}"/>
+ <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
+ <sysproperty key="jbosstest.threadcount" value="${jbosstest.threadcount}"/>
+ <sysproperty key="jbosstest.iterationcount" value="${jbosstest.iterationcount}"/>
+ <sysproperty key="jbosstest.beancount" value="${jbosstest.beancount}"/>
+
+ <classpath>
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${build.resources}"/>
+ <path refid="tests.classpath"/>
+ </classpath>
+
+ <formatter classname="org.jboss.ant.taskdefs.XMLJUnitResultFormatter"
+ extension=".xml" usefile="${junit.formatter.usefile}"/>
+
+ <batchtest todir="${build.reports}"
+ haltonerror="${junit.batchtest.haltonerror}"
+ haltonfailure="${junit.batchtest.haltonfailure}"
+ fork="${junit.batchtest.fork}">
+
+ <fileset dir="${build.classes}">
+ <include name="org/objectweb/jtests/**/*Test.class"/>
</fileset>
</batchtest>
</junit>
|