|
From: Thomas D. <tdi...@us...> - 2004-03-08 09:59:18
|
User: tdiesler
Date: 04/03/08 01:35:08
Modified: . build.xml
Log:
+ add target for timer tests
Revision Changes Path
1.342 +49 -1 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.341
retrieving revision 1.342
diff -u -r1.341 -r1.342
--- build.xml 6 Mar 2004 07:58:43 -0000 1.341
+++ build.xml 8 Mar 2004 09:35:00 -0000 1.342
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.341 2004/03/06 07:58:43 bwang00 Exp $ -->
+<!-- $Id: build.xml,v 1.342 2004/03/08 09:35:00 tdiesler Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -5966,6 +5966,54 @@
</target>
<!--
+ | Standard Foe-Deployer tests that should run successfully against a default
+ | JBoss server distribution build.
+ -->
+
+ <target name="tests-timer-unit" depends="maybejars">
+ <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}"/>
+
+ <jvmarg value="-Djava.security.manager"/>
+ <sysproperty key="java.security.policy"
+ value="${build.resources}/security/tst.policy"/>
+ <sysproperty key="java.security.auth.login.config"
+ value="${build.resources}/security/auth.conf"/>
+ <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}/security"/>
+ <pathelement location="${build.resources}"/>
+ <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="**/test/timer/test/**TestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <!--
| Standard JBoss Util tests that should run successfully against a default
| JBoss server distribution build.
-->
|