bdelacretaz    2004/02/09 23:17:46

  Modified:    .        build.properties
               src/test/anteater bug26186InternalRequestMemoryLeak.xml
  Log:
  bug26186InternalRequestMemoryLeak test disabled by default,
  as it takes a long time to run
  
  Revision  Changes    Path
  1.35      +3 -0      cocoon-2.1/build.properties
  
  Index: build.properties
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/build.properties,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- build.properties  7 Feb 2004 10:50:05 -0000       1.34
  +++ build.properties  10 Feb 2004 07:17:46 -0000      1.35
  @@ -45,6 +45,9 @@
   anteater.target.base.path = /
   anteater.option.haltonerror = true
   
  +# disable some long-running tests by default
  +# anteater.test.bug26186InternalRequestMemoryLeak.enabled = true
  +
   # ---- Build 
-------------------------------------------------------------------
   
   build.root=build
  
  
  
  1.2       +9 -3      
cocoon-2.1/src/test/anteater/bug26186InternalRequestMemoryLeak.xml
  
  Index: bug26186InternalRequestMemoryLeak.xml
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/test/anteater/bug26186InternalRequestMemoryLeak.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- bug26186InternalRequestMemoryLeak.xml     9 Feb 2004 20:17:10 -0000       
1.1
  +++ bug26186InternalRequestMemoryLeak.xml     10 Feb 2004 07:17:46 -0000      
1.2
  @@ -1,12 +1,18 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
  -<project name="Cocoon Stress Test" default="main">
  +<project name="Cocoon Stress Test" default="conditional">
     <taskdef resource="META-INF/Anteater.tasks"/>
     <typedef resource="META-INF/Anteater.types"/>
     <taskdef resource="net/sf/antcontrib/antcontrib.properties"/>
   
  -  <property name="url" 
value="http://localhost:8888/samples/xsp/java/resolver"/>
  +  <property name="url" value="${cocoon}/samples/xsp/java/resolver"/>
   
  -  <target name="main">
  +  <target name="conditional" depends="main,disabled"/>
  +  <target name="disabled" 
unless="anteater.test.bug26186InternalRequestMemoryLeak.enabled">
  +    <echo>bug26186InternalRequestMemoryLeak disabled by configuration</echo>
  +  </target>
  +  <target name="main" 
if="anteater.test.bug26186InternalRequestMemoryLeak.enabled">
  +    <echo>base=${anteater.target.base.path}</echo>
  +    <echo>disabled? 
${anteater.test.bug26186InternalRequestMemoryLeak.disabled}</echo>
       <foreach list="0,1,2,3,4,5" target="multiplier1" param="m1"/>
     </target>
     <target name="multiplier1">
  
  
  

Reply via email to