|
From: Alexey L. <lou...@us...> - 2003-03-02 17:51:59
|
User: loubyansky
Date: 03/03/02 09:51:58
Modified: . build.xml
Log:
added cmp/aop tests. target tests-cmpaop runs all the cmp/aop tests.
Revision Changes Path
1.222 +57 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -r1.221 -r1.222
--- build.xml 2 Mar 2003 03:39:33 -0000 1.221
+++ build.xml 2 Mar 2003 17:51:57 -0000 1.222
@@ -10,7 +10,7 @@
<!ENTITY mqstress SYSTEM "./mqstress.xml">
]>
-<!-- $Id: build.xml,v 1.221 2003/03/02 03:39:33 d_jencks Exp $ -->
+<!-- $Id: build.xml,v 1.222 2003/03/02 17:51:57 loubyansky Exp $ -->
<!--+======================================================================+-->
<!--| JBoss (The OpenSource J2EE WebOS) Build File |-->
@@ -805,6 +805,7 @@
<call target="_output:classloader"/>
<call target="_output:timer"/>
<call target="_output:entity"/>
+ <call target="_output:cmpaop"/>
</parallel>
</target>
@@ -3161,6 +3162,17 @@
</jar>
</target>
+ <!-- cmp aop test -->
+ <target name="_output:cmpaop" depends="_output:support">
+ <!-- build jboss-cmp-aop.jar -->
+ <jar jarfile="${build.lib}/jboss-cmp-aop.jar"
+ manifest="${build.etc}/manifest.mf">
+ <fileset dir="${build.classes}">
+ <include name="org/jboss/test/cmp/aop/**"/>
+ </fileset>
+ </jar>
+ </target>
+
<!--+====================================================================+-->
<!--| Documents |-->
@@ -4284,6 +4296,50 @@
</junit>
</target>
+
+ <!--
+ | Run all cmp aop related tests
+ -->
+
+ <target name="tests-cmpaop" depends="init, run-cmp-aop-tests, tests-report-html"/>
+ <target name="run-cmp-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="**/cmp/aop/**/*TestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
<!--
|