ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: jakarta-ant build.xml
Date Mon, 15 Apr 2002 06:42:10 GMT
stevel      02/04/14 23:42:10

  Modified:    .        build.xml
  Log:
  added exclusion of tests we know which break. This lets us add tests into the system before
we have a fix for them; you just have to run them individually for now.
  
  Revision  Changes    Path
  1.289     +14 -5     jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.288
  retrieving revision 1.289
  diff -u -r1.288 -r1.289
  --- build.xml	12 Apr 2002 04:39:46 -0000	1.288
  +++ build.xml	15 Apr 2002 06:42:09 -0000	1.289
  @@ -173,6 +173,8 @@
                unless="trax.present"/>
       <exclude name="${optional.package}/metamata/MMetrics*" 
                unless="trax.present"/>
  +    <exclude name="${optional.package}/XsltTest.java" 
  +             unless="trax.present"/>
     </patternset>
     <patternset id="needs.xalan1">
       <exclude name="${optional.package}/XalanLiaison*.java"
  @@ -284,6 +286,9 @@
     <patternset id="needs.swing">
       <exclude name="${optional.package}/splash/*.java" unless="swing.present" />
     </patternset>
  +  <patternset id="teststhatfail">
  +    <exclude name="${optional.package}/XmlValidateTest.java" unless="run.failing.tests"
/>
  +  </patternset>
   
     <!--
          ===================================================================
  @@ -1215,13 +1220,15 @@
             <patternset refid="needs.xslp" />
             <patternset refid="needs.jakarta.bcel" />
             <patternset refid="needs.trax" />
  -
             <!-- fails under 1.1 -->
             <exclude name="${optional.package}/perforce/P4ChangeTest.java"
                      unless="jdk1.2+"/>
             
             <!-- tests excluded if the test is run in offline mode -->
  -          <patternset refid="onlinetests"/> 
  +          <patternset refid="onlinetests"/>
  +          
  +          <!-- failing tests excluded unless run.failing.tests is set -->
  +          <patternset refid="teststhatfail" />
   
             <!-- runtime dependencies that are different from compile
                  time dependencies -->
  @@ -1256,9 +1263,12 @@
             <exclude name="${util.package}/DateUtilsTest.java"
                      unless="jdk1.2+" />
   
  +          <!-- misc oneoff tests --> 
             <exclude name="${optional.package}/JspcTest.java"
                      unless="jasper.present" />
  -                   
  +          <exclude name="${optional.package}/WsdlToDotnetTest.java"
  +                   unless="dotnetapps.found" />                   
  +           
             <!--  These tests only passes if testcases and Ant classes have
             been loaded by the same classloader - will throw
             IllegalAccessExceptions otherwise.  -->
  @@ -1270,14 +1280,13 @@
                      unless="tests.and.ant.share.classloader" />
             <exclude name="${optional.package}/metamata/MAuditParserTest.java"
                      unless="tests.and.ant.share.classloader" />
  -          <exclude name="${optional.package}/WsdlToDotnetTest.java"
  -                   unless="dotnetapps.found" />                   
   
             <!-- can only run if cvs is installed on your machine
                  enable by setting the property have.cvs
             -->
             <exclude name="${ant.package}/taskdefs/AbstractCvsTaskTest.java" 
                      unless="have.cvs" />
  +                   
           </fileset>
         </batchtest>
   
  
  
  

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


Mime
View raw message