You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/04/11 00:20:06 UTC

cvs commit: jakarta-commons/collections build.xml

scolebourne    2004/04/10 15:20:06

  Modified:    collections build.xml
  Log:
  Improve ant script to provide more info on tests
  
  Revision  Changes    Path
  1.62      +10 -2     jakarta-commons/collections/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/build.xml,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- build.xml	19 Feb 2004 21:41:04 -0000	1.61
  +++ build.xml	10 Apr 2004 22:20:06 -0000	1.62
  @@ -169,9 +169,11 @@
   
   <!-- ====================================================================== -->
   
  +  <!-- Used to obtain more detailed info on test failures -->
     <target name="test"  depends="compile.tests"
             description="Run all unit test cases">
  -    <junit printsummary="yes" haltonfailure="yes">
  +    <junit printsummary="yes" haltonfailure="yes" showoutput="yes">
  +      <formatter type="brief" />
         <classpath>
           <pathelement location="${build.classes}"/>
           <pathelement location="${build.tests}"/>
  @@ -180,7 +182,13 @@
   
         <batchtest fork="yes">
           <fileset dir="${source.test}">
  -          <include name="**/TestAllPackages.java"/>
  +          <include name="**/map/TestT*.java"/>
  +          <exclude name="**/TestAll*.java"/>
  +          <exclude name="**/TestArrayList.java"/>
  +          <exclude name="**/TestLinkedList.java"/>
  +          <exclude name="**/TestHashMap.java"/>
  +          <exclude name="**/TestTreeMap.java"/>
  +          <exclude name="**/TestTypedCollection.java"/>
           </fileset>
         </batchtest>
       </junit>
  
  
  

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