|
From: Alexey L. <lou...@us...> - 2003-08-13 11:40:10
|
User: loubyansky
Date: 03/08/13 04:37:08
Modified: . build.xml
Log:
moved AOP related tests from tests-db target to its own tests-aop
Revision Changes Path
1.285 +46 -2 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.284
retrieving revision 1.285
diff -u -r1.284 -r1.285
--- build.xml 29 Jul 2003 07:55:18 -0000 1.284
+++ build.xml 13 Aug 2003 11:37:07 -0000 1.285
@@ -10,7 +10,7 @@
<!ENTITY mqstress SYSTEM "./mqstress.xml">
]>
-<!-- $Id: build.xml,v 1.284 2003/07/29 07:55:18 bwang00 Exp $ -->
+<!-- $Id: build.xml,v 1.285 2003/08/13 11:37:07 loubyansky Exp $ -->
<!--+======================================================================+-->
<!--| JBoss (The OpenSource J2EE WebOS) Build File |-->
@@ -4818,11 +4818,55 @@
<include name="**/cmp2/**/*UnitTestCase.class"/>
<include name="**/dbtest/**/*UnitTestCase.class"/>
<include name="**/deadlock/**/*StressTestCase.class"/>
- <include name="**/aop/**/*UnitTestCase.class"/>
<include name="**/entityexc/**/*UnitTestCase.class"/>
<include name="**/idgen/**/*UnitTestCase.class"/>
<include name="**/perf/**/*UnitTestCase.class"/>
<include name="**/testbean/**/*UnitTestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+
+ <!--
+ | Run all AOP related tests
+ -->
+
+ <target name="tests-aop" depends="init, run-aop-tests, tests-report-html"/>
+ <target name="run-aop-tests" depends="maybejars">
+ <mkdir dir="${build.reports}"/>
+ <mkdir dir="${build.log}"/>
+ <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.log" value="${build.log}"/>
+ <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/>
+ <sysproperty key="jbosstest.data.dir" value="${jbosstest.data.dir}"/>
+ <sysproperty key="jbosstest.iterationcount" value="2"/>
+
+ <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="**/aop/**/*UnitTestCase.class"/>
</fileset>
</batchtest>
</junit>
|