From: Scott M S. <st...@us...> - 2005-04-11 04:58:12
|
User: starksm Date: 05/04/10 21:58:05 Modified: . Tag: Branch_4_0 build.xml Log: Run the tests-compatibility target with MaxPermSize of 96m due to the number of loaded classes. Revision Changes Path No revision No revision 1.406.2.55 +12 -5 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.406.2.54 retrieving revision 1.406.2.55 diff -u -r1.406.2.54 -r1.406.2.55 --- build.xml 8 Apr 2005 18:58:49 -0000 1.406.2.54 +++ build.xml 11 Apr 2005 04:58:04 -0000 1.406.2.55 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.406.2.54 2005/04/08 18:58:49 starksm Exp $ --> +<!-- $Id: build.xml,v 1.406.2.55 2005/04/11 04:58:04 starksm Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -224,7 +224,6 @@ <property name="jbosstest.beancount" value="5"/> <property name="jbosstest.nodeploy" value="false"/> <property name="jbosstest.src.etc" value="${source.etc}"/> - <property name="jbosstest.dist" value="${jboss.dist}"/> <property name="junit.batchtest.todir" value="${build.reports}"/> <property name="junit.jvm.options" value="-Ddummy"/> <!-- Override JUnit Marathon defaults --> @@ -522,6 +521,13 @@ <patternset id="deployment-service.excludes"> <exclude name="org/jboss/test/deployment/test/*TestCase.class"/> </patternset> + <!-- The compatibility tests need extra memory --> + <patternset id="compatibility.includes"> + <include name="org/jboss/test/compatibility/test/*TestCase.class"/> + </patternset> + <patternset id="compatibility.excludes"> + <exclude name="org/jboss/test/compatibility/test/*TestCase.class"/> + </patternset> <!-- Tests that are currently broken --> <patternset id="badtest.excludes"> @@ -547,6 +553,7 @@ <patternset refid="jbossnet.excludes"/> <patternset refid="jbossxb.excludes"/> <patternset refid="deployment-service.excludes"/> + <patternset refid="compatibility.excludes"/> </patternset> <!-- A target that allows for conditional dependency on the compilation and @@ -1659,9 +1666,9 @@ jvm="${junit.jvm}"> <jvmarg value="${junit.jvm.options}"/> + <jvmarg value="-XX:MaxPermSize=96m"/> + <jvmarg value="-Xmx196m"/> <sysproperty key="jboss.dist" file="${jboss.dist}"/> - - <jvmarg value="-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader"/> <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"/> @@ -1685,7 +1692,7 @@ fork="${junit.batchtest.fork}"> <fileset dir="${build.classes}"> - <include name="org/jboss/test/compatibility/test/*JarTest.class"/> + <patternset refid="compatibility.includes"/> </fileset> </batchtest> </junit> |