|
From: thomas d. <tdi...@us...> - 2003-11-12 20:14:01
|
User: tdiesler
Date: 03/11/12 12:13:59
Modified: . build.xml
Log:
- fixed testrun for webservice
Revision Changes Path
1.306 +53 -2 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -r1.305 -r1.306
--- build.xml 12 Nov 2003 17:28:22 -0000 1.305
+++ build.xml 12 Nov 2003 20:13:59 -0000 1.306
@@ -15,7 +15,7 @@
<!-- -->
<!-- ====================================================================== -->
-<!-- $Id: build.xml,v 1.305 2003/11/12 17:28:22 cgjung Exp $ -->
+<!-- $Id: build.xml,v 1.306 2003/11/12 20:13:59 tdiesler Exp $ -->
<project default="main" name="JBoss/Testsuite">
@@ -4713,11 +4713,12 @@
tests-client-stress,
tests-security-basic-stress,
tests-jsr77-unit,
+ tests-webservice-unit,
tests-util-unit,
tests-jbossmx-compliance,
tests-jbossmx-implementation,
tests-jbossmx-performance,
- tests-iiop-stress,
+ tests-iiop-stress,
tests-report">
</target>
@@ -4728,6 +4729,7 @@
tests-client-unit,
tests-security-basic-unit,
tests-jsr77-unit,
+ tests-webservice-unit,
tests-util-unit,
tests-jbossmx-compliance,
tests-jbossmx-implementation,
@@ -5265,6 +5267,55 @@
</batchtest>
</junit>
</target>
+
+ <!--
+ | Standard webservice tests that should run successfully against a
+ | JBoss server distribution build that contains jboss-net.
+ -->
+
+ <target name="tests-webservice-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}"/>
+ <sysproperty key="jbosstest.secure" value="true"/>
+
+ <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/webservice/**/*TestCase.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
<!--
| Standard marathon tests that should run successfully against a default
|