User: reverbel
Date: 02/03/30 13:01:21
Modified: . build.xml
Log:
Target iiop-test dependency changed from "init" to "maybejars".
Target iiop-test-nojars removed (use iiop-test with -Dnojars=true instead).
Revision Changes Path
1.99 +4 -51 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- build.xml 24 Mar 2002 22:00:44 -0000 1.98
+++ build.xml 30 Mar 2002 21:01:20 -0000 1.99
@@ -13,7 +13,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.98 2002/03/24 22:00:44 d_jencks Exp $ -->
+<!-- $Id: build.xml,v 1.99 2002/03/30 21:01:20 reverbel Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -3027,59 +3027,12 @@
| Run iiop testcases in a single directory by specifing the test
| directory name in -Dtest=dirname in tests/dirname/test/**TestCase.class
-->
- <target name="iiop-test" depends="jars" if="test"
- description="Execute a single test.">
- <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="-Xbootclasspath/p:${jacorb.jacorb.lib}/jacorb.jar"/>
- <jvmarg value="-Djava.security.manager"/>
- <sysproperty key="log4j.properties"
file="${build.resources}/log4j.properties"/>
- <sysproperty key="jbosstest.threadcount" value="${jbosstest.threadcount}"/>
- <sysproperty key="jbosstest.iterationcount"
value="${jbosstest.iterationcount}"/>
- <sysproperty key="jbosstest.beancount" value="${jbosstest.beancount}"/>
-
- <classpath>
- <pathelement location="${build.classes}"/>
- <pathelement location="${build.resources}"/>
- <path refid="tests.classpath"/>
- <path refid="jboss.iiop.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/${test}/*/*TestCase.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target>
-
- <!--
- | Run iiop testcases in a single directory by specifing the test
- | directory name in -Dtest=dirname in tests/dirname/test/**TestCase.class
- | This version does not rebuild the test jars every time.
- -->
- <target name="iiop-test-nojars" depends="init" if="test"
+ <target name="iiop-test" depends="maybejars" if="test"
description="Execute a single test.">
<mkdir dir="${build.reports}"/>
<mkdir dir="${build.testlog}"/>
+ <!-- Remove the test.log so each run has a fresh log -->
+ <delete file="${build.testlog}/test.log" />
<junit dir="${module.output}"
printsummary="${junit.printsummary}"
haltonerror="${junit.haltonerror}"
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development