[jboss-cvs] JBossCache ...

Manik Surtani manik at jboss.org
Tue Mar 27 10:22:26 EDT 2007


  User: msurtani
  Date: 07/03/27 10:22:26

  Modified:    JBossCache  build.xml
  Log:
  Added one-test-retro target
  
  Revision  Changes    Path
  1.194     +19 -1     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.193
  retrieving revision 1.194
  diff -u -b -r1.193 -r1.194
  --- build.xml	15 Mar 2007 14:16:25 -0000	1.193
  +++ build.xml	27 Mar 2007 14:22:26 -0000	1.194
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<!-- $Id: build.xml,v 1.193 2007/03/15 14:16:25 msurtani Exp $ -->
  +<!-- $Id: build.xml,v 1.194 2007/03/27 14:22:26 msurtani Exp $ -->
   
   <project default="compile" name="JBossCache">
   
  @@ -546,6 +546,24 @@
      <!-- Tests                                                              -->
      <!-- ================================================================== -->
   
  +   <target name="one-test-retro" depends="unittests-init" description="Runs a single, retroweaved test under JDK 1.4">
  +      <property name="jgroups.stack" value="udp"/>
  +      <echo>Running ${test} using ${jgroups.stack} jgroups stack</echo>
  +      <junit printsummary="yes" timeout="${junit.timeout.stresstest}" fork="yes">
  +         <sysproperty key="log4j.configuration" value="file:${etc.dir}/log4j.xml"/>
  +         <classpath refid="library.classpath"/>
  +         <classpath refid="retro.library.classpath"/>
  +         <classpath refid="retro.output.classpath"/>
  +         <formatter classname="org.jboss.cache.util.XMLUnitTestFormatter" usefile="true"
  +                    extension="-${jgroups.stack}.xml"/>
  +         <test name="${test}" todir="${build.reports}"/>
  +         <jvmarg value="-Djgroups.stack=${jgroups.stack}"/>
  +         <jvmarg value="-Dbind.address=${bind.address}"/>
  +         <jvmarg value="-Djava.net.preferIPv4Stack=true"/>
  +         <jvmarg value="-Dlib.dir=${lib.dir}"/>
  +      </junit>
  +   </target>
  +
      <target name="one-test" depends="compile,unittests-init" description="Runs a single unit test">
         <property name="jgroups.stack" value="udp"/>
         <echo>Running ${test} using ${jgroups.stack} jgroups stack</echo>
  
  
  



More information about the jboss-cvs-commits mailing list