|
From: Scott M S. <st...@us...> - 2005-04-12 16:25:05
|
User: starksm Date: 05/04/12 09:24:58 Modified: . Tag: Branch_4_0 build.xml Log: Run the tests-compatibility with a minimal classpath and large MaxPermSize to ensure that the unit tests load the target classes through a seperate class loader and that there is enough room for all the classes loaded. Revision Changes Path No revision No revision 1.406.2.56 +9 -6 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.406.2.55 retrieving revision 1.406.2.56 diff -u -r1.406.2.55 -r1.406.2.56 --- build.xml 11 Apr 2005 04:58:04 -0000 1.406.2.55 +++ build.xml 12 Apr 2005 16:24:36 -0000 1.406.2.56 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.406.2.55 2005/04/11 04:58:04 starksm Exp $ --> +<!-- $Id: build.xml,v 1.406.2.56 2005/04/12 16:24:36 starksm Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -1661,12 +1661,12 @@ printsummary="${junit.printsummary}" haltonerror="${junit.haltonerror}" haltonfailure="${junit.haltonfailure}" - fork="${junit.fork}" + fork="true" timeout="${junit.timeout}" jvm="${junit.jvm}"> <jvmarg value="${junit.jvm.options}"/> - <jvmarg value="-XX:MaxPermSize=96m"/> + <jvmarg value="-XX:MaxPermSize=128m"/> <jvmarg value="-Xmx196m"/> <sysproperty key="jboss.dist" file="${jboss.dist}"/> <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> @@ -1678,10 +1678,13 @@ <propertyref prefix="jbosstest."/> </syspropertyset> + <!-- This runs with a minimal classpath as the jboss classes need to + be loaded in a seperate class loader. + --> <classpath> - <pathelement location="${build.classes}"/> - <pathelement location="${build.resources}"/> - <path refid="tests.classpath"/> + <pathelement location="${build.classes}" /> + <pathelement location="${build.resources}" /> + <path refid="jboss.varia.classpath"/> </classpath> <formatter type="xml" usefile="${junit.formatter.usefile}"/> |