[jboss-cvs] JBossCache ...

Manik Surtani msurtani at jboss.com
Wed Nov 15 10:35:09 EST 2006


  User: msurtani
  Date: 06/11/15 10:35:09

  Modified:    JBossCache  build.xml
  Log:
  Added one-test-pkg target
  
  Revision  Changes    Path
  1.149     +22 -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.148
  retrieving revision 1.149
  diff -u -b -r1.148 -r1.149
  --- build.xml	14 Nov 2006 09:08:14 -0000	1.148
  +++ build.xml	15 Nov 2006 15:35:09 -0000	1.149
  @@ -1,6 +1,6 @@
   <?xml version="1.0" encoding="UTF-8"?>
   
  -<!-- $Id: build.xml,v 1.148 2006/11/14 09:08:14 bwang Exp $ -->
  +<!-- $Id: build.xml,v 1.149 2006/11/15 15:35:09 msurtani Exp $ -->
   
   <project default="compile" name="JBossCache">
   
  @@ -456,6 +456,27 @@
         </junit>
      </target>
   
  +   <target name="one-test-pkg" depends="compile,unittests-init" description="Runs a single unit test package">
  +
  +      <junit printsummary="yes" timeout="${junit.timeout.stresstest}" fork="yes" maxmemory="512m">
  +         <sysproperty key="log4j.configuration" value="file:${etc.dir}/log4j.xml"/>
  +         <classpath refid="library.classpath"/>
  +         <classpath refid="output.classpath"/>
  +         <jvmarg value="-Dbind.address=${bind.address}"/>
  +         <jvmarg value="-Djava.net.preferIPv4Stack=true"/>
  +         <jvmarg value="-Dtest.jar.dir=${output.dir}"/>
  +         <formatter type="xml" usefile="true"/>
  +         <batchtest todir="${build.reports}">
  +            <fileset dir="${functional.tests.dir}">
  +               <include name="${pkg}/*Test.*"/>
  +               <exclude name="**/aop/**/*"/>
  +               <exclude name="**/pojo/**/*"/>
  +               <patternset refid="junit.excludes"/>
  +            </fileset>
  +         </batchtest>
  +      </junit>
  +   </target>   
  +
      <target name="one-test-aop" depends="generateClassLoader, compile,unittests-init"
              description="Runs a single unit test">
         <junit printsummary="yes" timeout="${junit.timeout}" fork="yes">
  
  
  



More information about the jboss-cvs-commits mailing list