[jboss-cvs] JBossCache ...

Galder Zamarreno galder.zamarreno at jboss.com
Sat Apr 21 05:28:46 EDT 2007


  User: gzamarreno
  Date: 07/04/21 05:28:46

  Modified:    JBossCache  build.xml
  Log:
  [JBCACHE-964] moved migration functional tests to a more appropiate directory, plus layed path migration perf tests as part of the refactoring of old jdbc cache loader classes.
  
  Revision  Changes    Path
  1.199     +27 -4     JBossCache/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/build.xml,v
  retrieving revision 1.198
  retrieving revision 1.199
  diff -u -b -r1.198 -r1.199
  --- build.xml	19 Apr 2007 21:51:20 -0000	1.198
  +++ build.xml	21 Apr 2007 09:28:45 -0000	1.199
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<!-- $Id: build.xml,v 1.198 2007/04/19 21:51:20 gzamarreno Exp $ -->
  +<!-- $Id: build.xml,v 1.199 2007/04/21 09:28:45 gzamarreno Exp $ -->
   
   <project default="compile" name="JBossCache">
   
  @@ -59,7 +59,8 @@
      <property name="migration.examples.dir" value="${migration.dir}/examples"/>
      <property name="migration.jar.name" value="jbosscache-cacheloader-migration.jar"/>
      <property name="migration.manifest.file" value="${dist.lib}/migration.default.mf"/>
  -   <property name="migration.tests.dir" value="${migration.dir}/tests"/>
  +   <property name="migration.functional.tests.dir" value="${migration.dir}/tests/functional"/>
  +   <property name="migration.perf.tests.dir" value="${migration.dir}/tests/perf"/>   
      <property name="cache.db.dir" value="${root.dir}/jbossdb" />
      <property name="cache.db.1x.dir" value="${cache.db.dir}-1x" />
      <!-- -->
  @@ -372,7 +373,7 @@
                target="1.5"
                source="1.5"
                failonerror="true">
  -         <src path="${migration.tests.dir}"/>
  +         <src path="${migration.functional.tests.dir}"/>
            <classpath refid="migration.classpath"/>
            <classpath refid="library.classpath"/>
            <classpath refid="migration.library.classpath"/>
  @@ -892,7 +893,7 @@
            <formatter classname="org.jboss.cache.util.XMLUnitTestFormatter" usefile="true"
                       extension="-${jgroups.stack}.xml"/>
            <batchtest todir="${build.reports}">
  -            <fileset dir="${migration.tests.dir}">
  +            <fileset dir="${migration.functional.tests.dir}">
                  <include name="**/*Test.*"/>
                  <patternset refid="junit.excludes"/>
               </fileset>
  @@ -1013,6 +1014,28 @@
         </junit>
      </target>
   
  +   <!-- target name="perftests-migration" depends="compile,unittests-init" description="Runs all migration perf tests">
  +      <property name="jgroups.stack" value="udp"/>
  +      <echo>Running performance tests using ${jgroups.stack} jgroups stack</echo>
  +      <junit printsummary="yes" timeout="${junit.timeout}" fork="yes">
  +         <classpath refid="library.classpath"/>
  +         <classpath refid="output.classpath"/>
  +         <classpath refid="migration.library.classpath"/>
  +         <classpath refid="migration.output.classpath"/>
  +         <jvmarg value="-Djgroups.stack=${jgroups.stack}"/>
  +         <jvmarg value="-Dbind.address=${bind.address}"/>
  +         <jvmarg value="-Djava.net.preferIPv4Stack=true"/>
  +         <formatter classname="org.jboss.cache.util.XMLUnitTestFormatter" usefile="true"
  +                    extension="-${jgroups.stack}.xml"/>
  +         <batchtest todir="${build.reports}">
  +            <fileset dir="${migration.perf.tests.dir}">
  +               <include name="**/*Test.*"/>
  +               <patternset refid="junit.excludes"/>
  +            </fileset>
  +         </batchtest>
  +      </junit>
  +   </target -->
  +
      <target name="all-perftests" depends="perftests"
              description="Runs all perf tests (including AOP tests)">
      </target>
  
  
  



More information about the jboss-cvs-commits mailing list