[jboss-cvs] JBossRemoting ...

Tom Elrod tom.elrod at jboss.com
Tue Aug 1 23:42:12 EDT 2006


  User: telrod  
  Date: 06/08/01 23:42:12

  Modified:    JBossRemoting  build.xml
  Log:
  JBREM-218 - updating build for cruisecontrol testsuite run.
  
  Revision  Changes    Path
  1.71      +83 -2     JBossRemoting/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/build.xml,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -b -r1.70 -r1.71
  --- build.xml	31 Jul 2006 17:43:56 -0000	1.70
  +++ build.xml	2 Aug 2006 03:42:12 -0000	1.71
  @@ -9,7 +9,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.70 2006/07/31 17:43:56 telrod Exp $ -->
  +<!-- $Id: build.xml,v 1.71 2006/08/02 03:42:12 telrod Exp $ -->
   
   <project default="most" name="JBossRemoting">
   
  @@ -479,7 +479,7 @@
      </target>
   
      <target name="tests" description="Runs remoting functional and performance tests." depends="jars, tests.jars">
  -      <antcall target="tests.functional" inheritrefs="true"/>
  +      <antcall target="tests.functional.core" inheritrefs="true"/>
         <!--<antcall target="tests.versioning" inheritrefs="true"/>-->
         <!--<antcall target="tests.performance" inheritrefs="true"/>-->
         <antcall target="tests.report" inheritrefs="true"/>
  @@ -518,6 +518,11 @@
         </junitreport>
      </target>
   
  +   <target name="tests.functional.core" depends="configure">
  +      <antcall target="tests.functional.serialization.java.core" inheritrefs="true"/>
  +      <antcall target="tests.functional.serialization.jboss.core" inheritrefs="true"/>
  +   </target>
  +
      <!-- calls functional main tests and marshall test with both java and jboss (if jdk1.5) serialization -->
      <target name="tests.functional" depends="configure">
         <antcall target="tests.functional.serialization.java" inheritrefs="true"/>
  @@ -535,6 +540,16 @@
         </antcall>
      </target>
   
  +   <target name="tests.functional.serialization.java.core">
  +      <antcall target="tests.functional.main.core" inheritrefs="true">
  +         <param name="remoting.metadata.key" value="remoting.metadata"/>
  +         <param name="metadata" value="serializationtype=java"/>
  +         <param name="jboss-junit-configuration" value="java_serialization"/>
  +      </antcall>
  +      <antcall target="tests.marshall" inheritrefs="true">
  +      </antcall>
  +   </target>
  +
      <!-- runs functional tests with jboss serialization if using jdk 1.5 -->
      <target name="tests.functional.serialization.jboss" if="isJDK5">
         <antcall target="tests.functional.main" inheritrefs="true">
  @@ -557,6 +572,16 @@
         <antcall target="tests.functional.main.serialization.jboss" inheritrefs="true"/>
      </target>
   
  +   <target name="tests.functional.serialization.jboss.core" if="isJDK5">
  +      <antcall target="tests.functional.main.core" inheritrefs="true">
  +         <param name="remoting.metadata.key" value="remoting.metadata"/>
  +         <param name="metadata" value="serializationtype=jboss"/>
  +         <param name="jboss-junit-configuration" value="jboss_serialization"/>
  +      </antcall>
  +      <antcall target="tests.nonserializable" inheritrefs="true"/>
  +      <antcall target="tests.functional.main.serialization.jboss" inheritrefs="true"/>
  +   </target>
  +
   
      <target name="tests.functional.http" depends="configure">
         <antcall target="tests.functional.serialization.java.http" inheritrefs="true"/>
  @@ -609,6 +634,41 @@
         </junit>
      </target>
   
  +   <target name="tests.functional.main.core" depends="tests.jars">
  +      <mkdir dir="${output.tests.results}"/>
  +      <junit printsummary="true" fork="yes" includeantruntime="true">
  +         <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
  +         <jvmarg value="-D${remoting.metadata.key}=${metadata}"/>
  +         <classpath>
  +            <path refid="tests.classpath"/>
  +            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
  +         </classpath>
  +         <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
  +         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
  +                    extension="-${jboss-junit-configuration}.xml"/>
  +         <batchtest fork="yes" todir="${output.tests.results}"
  +                    haltonfailure="no">
  +            <fileset dir="${tests.compile.dir}">
  +               <include name="**/remoting/**/*TestCase.class"/>
  +               <exclude name="**/remoting/marshall/dynamic/remote/**/*TestCase.class"/>
  +               <exclude name="**/remoting/serialization/**/jboss/*TestCase.class"/>
  +               <exclude name="**/remoting/**/performance/**"/>
  +               <exclude name="**/remoting/**/nonserializable/**"/>
  +               <exclude name="**/remoting/**/http/chunked/**"/>
  +               <!-- these are test cases that are only failing on certain env so will have to run manually -->
  +               <exclude name="**/remoting/callback/pull/memory/**/*StoreCallbackTestCase*"/>
  +               <exclude name="**/remoting/detection/multicast/*MulticastUnitTestCase*"/>
  +               <exclude name="**/remoting/transport/http/compression/*CompressedHTTPInvokerTestCase*"/>
  +               <exclude name="**/remoting/transport/**/ssl/serversocketrefresh/*TestCase*"/>
  +               <!-- having to remove peformance tests as running out of memory failures -->
  +               <exclude name="**/remoting/transport/multiplex/**/**Performance*TestCase.class"/>
  +               <exclude name="**/remoting/versioning/**/*TestCase.class"/>
  +               <!-- <exclude name="**/remoting/transport/multiplex/**/MultiplexMultiThreadedPerformanceTestCase.class"/> -->
  +            </fileset>
  +         </batchtest>
  +      </junit>
  +   </target>
  +
      <target name="tests.functional.main.isJDK5" depends="tests.jars" if="isJDK5">
         <mkdir dir="${output.tests.results}"/>
         <junit printsummary="true" fork="yes" includeantruntime="true">
  @@ -630,6 +690,27 @@
         </junit>
      </target>
   
  +   <target name="tests.functional.main.isJDK5.core" depends="tests.jars" if="isJDK5">
  +      <mkdir dir="${output.tests.results}"/>
  +      <junit printsummary="true" fork="yes" includeantruntime="true">
  +         <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
  +         <jvmarg value="-D${remoting.metadata.key}=${metadata}"/>
  +         <classpath>
  +            <path refid="tests.classpath"/>
  +            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
  +         </classpath>
  +         <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
  +         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
  +                    extension="-${jboss-junit-configuration}.xml"/>
  +         <batchtest fork="yes" todir="${output.tests.results}"
  +                    haltonfailure="no">
  +            <fileset dir="${tests.compile.dir}">
  +               <include name="**/remoting/**/http/chunked/**/*TestCase.class"/>
  +            </fileset>
  +         </batchtest>
  +      </junit>
  +   </target>
  +
      <target name="tests.functional.main.http" depends="tests.jars">
         <mkdir dir="${output.tests.results}"/>
         <junit printsummary="true" fork="yes" includeantruntime="true">
  
  
  



More information about the jboss-cvs-commits mailing list