You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jh...@apache.org on 2004/03/01 16:10:37 UTC

cvs commit: ant build.xml

jhm         2004/03/01 07:10:37

  Modified:    .        build.xml
  Log:
  Add 'run.failing.tests' support.
  
  Revision  Changes    Path
  1.413     +6 -3      ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.412
  retrieving revision 1.413
  diff -u -r1.412 -r1.413
  --- build.xml	27 Feb 2004 11:45:15 -0000	1.412
  +++ build.xml	1 Mar 2004 15:10:37 -0000	1.413
  @@ -327,8 +327,11 @@
     </patternset>
   
     <patternset id="teststhatfail">
  -    <exclude name="${optional.package}/BeanShellScriptTest.java"/>
  -    <exclude name="${optional.package}/jdepend/JDependTest.java"/>
  +    <!-- Property 'run.failing.tests' should force Ant to run these tests. -->
  +    <!-- Because the whole patternset can�t be excluded, you have to add   -->
  +    <!-- an unless-attribute on each exclude-element.                      -->
  +    <exclude unless="run.failing.tests" name="${optional.package}/BeanShellScriptTest.java"/>
  +    <exclude unless="run.failing.tests" name="${optional.package}/jdepend/JDependTest.java"/>
     </patternset>
   
     <!--
  @@ -1604,4 +1607,4 @@
             description="--> creates a minimum distribution in ./dist"
             depends="dist-lite"/>
   
  -</project>
  +</project>
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org