|
From: Ben W. <bw...@us...> - 2004-01-27 08:21:18
|
User: bwang00
Date: 04/01/27 00:20:14
Modified: . build.xml
Log:
Added target for treecacheaop unit testing. Not quite done yet
Revision Changes Path
1.325 +40 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.324
retrieving revision 1.325
diff -u -r1.324 -r1.325
--- build.xml 8 Jan 2004 00:37:41 -0000 1.324
+++ build.xml 27 Jan 2004 08:20:01 -0000 1.325
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.324 2004/01/08 00:37:41 patriot1burke Exp $ -->
+<!-- $Id: build.xml,v 1.325 2004/01/27 08:20:01 bwang00 Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -100,6 +100,8 @@
<path refid="junitejb.junitejb.classpath"/>
<path refid="junitejb.junitejb.classpath"/>
<path refid="jdom.classpath"/>
+ <path refid="javassist.classpath"/>
+ <path refid="trove.classpath"/>
<path refid="jgroups.jgroups.classpath"/>
<!-- needed for JBossMQ selector tests -->
@@ -5242,6 +5244,43 @@
</junit>
</target>
+ <target name="tests-treecacheaop-unit" depends="init">
+ <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="-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader"/>
+ <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"/>
+
+ <classpath>
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${build.resources}/cache/standalone"/>
+ <path refid="tests.classpath"/>
+ </classpath>
+
+ <formatter type="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/cache/test/standAloneAop/*AopTest.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+
<!--
| Tests that need to be run by loading the testcase code from a client
| jar rather than the build.classes.dir. Typically these tests need to
|