User: reverbel Date: 02/04/20 12:31:05 Modified: . build.xml Log: - IIOP tests excluded from tests-standard-stress. - Created target tests-iiop-stress. - Targets tests and tests-stress now depend on tests-iiop-stress. Revision Changes Path 1.110 +56 -3 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.109 retrieving revision 1.110 diff -u -r1.109 -r1.110 --- build.xml 18 Apr 2002 23:21:57 -0000 1.109 +++ build.xml 20 Apr 2002 19:31:05 -0000 1.110 @@ -13,7 +13,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.109 2002/04/18 23:21:57 starksm Exp $ --> +<!-- $Id: build.xml,v 1.110 2002/04/20 19:31:05 reverbel Exp $ --> <project default="main" name="JBoss/Testsuite"> @@ -2303,6 +2303,7 @@ tests-client-unit, tests-security-basic-unit, tests-standard-stress, + tests-iiop-stress, tests-client-stress, tests-security-basic-stress, tests-jsr77-unit, @@ -2328,7 +2329,8 @@ <target name="tests-stress" description="Execute all stress tests." depends="init, - tests-standard-stress, + tests-standard-stress, + tests-iiop-stress, tests-client-stress, tests-security-basic-stress, tests-jbossmx-performance, @@ -2440,12 +2442,13 @@ <fileset dir="${build.classes}"> <include name="**/*StressTestCase.class"/> - <!-- do not include the perf or security tests --> + <!-- do not include the perf, security, or iiop tests --> <!--mq test seems to break things--> <!--exclude name="**/JBossMQPerfStressTestCase.class"/--> <exclude name="**/test/perf/test/SecurePerfStressTestCase.class"/> <exclude name="**/test/security/test/*"/> <exclude name="**/test/securitymgr/test/*"/> + <exclude name="**/test/*iiop/test/*"/> </fileset> </batchtest> </junit> @@ -2964,6 +2967,56 @@ <include name="**/jbossmx/compliance/**/*TestCase.class"/> <!-- Ignore the abstract class --> <exclude name="org/jboss/test/jbossmx/compliance/TestCase.class"/> + </fileset> + </batchtest> + </junit> + </target> + + <!-- + | IIOP test cases that should run successfully + --> + + <target name="tests-iiop-stress" 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}"/> + <jvmarg value="-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB"/> + <jvmarg value="-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton"/> + <jvmarg value="-Djava.security.manager"/> + <sysproperty key="java.security.policy" + value="${build.resources}/security/tst.policy"/> + <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> + <sysproperty key="build.testlog" value="${build.testlog}"/> + <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/> + <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="**/test/*iiop/test/*StressTestCase.class"/> </fileset> </batchtest> </junit>
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development