|
From: Sacha L. <sla...@us...> - 2002-10-05 19:35:15
|
User: slaboure
Date: 02/10/05 12:35:13
Modified: . Tag: Branch_3_2 build.xml
Log:
Allows execution of the only testcases that require a cluster setup
Revision Changes Path
No revision
No revision
1.165.2.10 +52 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.165.2.9
retrieving revision 1.165.2.10
diff -u -r1.165.2.9 -r1.165.2.10
--- build.xml 5 Oct 2002 02:05:23 -0000 1.165.2.9
+++ build.xml 5 Oct 2002 19:35:13 -0000 1.165.2.10
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.165.2.9 2002/10/05 02:05:23 starksm Exp $ -->
+<!-- $Id: build.xml,v 1.165.2.10 2002/10/05 19:35:13 slaboure Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -3277,6 +3277,12 @@
tests-report">
</target>
+ <target name="tests-clustering" description="Execute clustering tests requiring two nodes."
+ depends="init,
+ tests-clustering-unit,
+ tests-report">
+ </target>
+
<!--
| Helper for running all jbossmx tests
-->
@@ -3397,6 +3403,51 @@
<exclude name="**/test/security/test/*"/>
<exclude name="**/test/securitymgr/test/*"/>
<exclude name="**/test/*iiop/test/*"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <!--target name="tests-clustering-unit" depends="maybejars"-->
+ <target name="tests-clustering-unit" >
+ <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}">
+
+ <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"/>
+
+ <!--jvmarg value="${junit.jvm.options}"/>
+ <jvmarg value="-Xrunjdwp:transport=dt_socket,address=8789,server=y,suspend=y"/>
+ <jvmarg value="-Djava.compiler=NONE"/>
+ <jvmarg value="-Xdebug"/>
+ <jvmarg value="-Xnoagent"/-->
+
+ <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/jboss/test/testbeancluster/**/*UnitTestCase*.class"/>
+
</fileset>
</batchtest>
</junit>
|