From: Clebert R. S. <cl...@us...> - 2005-03-30 22:34:17
|
User: clebert Date: 05/03/30 14:34:09 Modified: . Tag: Branch_4_0 build.xml Log: Adding tests-compatibility for checks into SerialUID Revision Changes Path No revision No revision 1.406.2.50 +36 -1 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.406.2.49 retrieving revision 1.406.2.50 diff -u -r1.406.2.49 -r1.406.2.50 --- build.xml 30 Mar 2005 00:07:29 -0000 1.406.2.49 +++ build.xml 30 Mar 2005 22:33:45 -0000 1.406.2.50 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.406.2.49 2005/03/30 00:07:29 recampbell Exp $ --> +<!-- $Id: build.xml,v 1.406.2.50 2005/03/30 22:33:45 clebert Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -573,6 +573,7 @@ <antcall target="tests-jacc-security"/> <antcall target="tests-jacc-securitymgr"/> <antcall target="tests-report"/> + <antcall target="tests-compatibility"/> <record name="${basedir}/build.log" action="stop"/> </target> @@ -1644,6 +1645,40 @@ <antcall target="tests-baseaop-unit" inheritRefs="true"/> </target> + <target name="tests-compatibility" + description="Checks compatibility on SerialUUID" depends="compile-classes-only"> + <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="jboss.dist" file="${jboss.dist}"/> + + <classpath> + <pathelement location="${build.classes}"/> + <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="org/jboss/test/compatibility/test/*JarTest.class"/> + </fileset> + </batchtest> + </junit> + </target> + + <target name="tests-treecacheaop-unit" depends="init"> <mkdir dir="${build.reports}"/> <mkdir dir="${build.testlog}"/> |