commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: jakarta-commons-sandbox/io build.xml
Date Tue, 09 Jul 2002 15:21:39 GMT
nicolaken    2002/07/09 08:21:38

  Modified:    io       build.xml
  Log:
  Make test testcases run.
  
  Revision  Changes    Path
  1.4       +24 -2     jakarta-commons-sandbox/io/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/io/build.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- build.xml	9 Jul 2002 14:58:35 -0000	1.3
  +++ build.xml	9 Jul 2002 15:21:38 -0000	1.4
  @@ -252,7 +252,7 @@
      description="Run all unit test cases">
     </target>
   
  -
  +<!--
     <target name="test.io" depends="compile.tests">
       <echo message="Running IO tests ..."/>
       <java classname="${test.runner}" fork="yes"
  @@ -261,5 +261,27 @@
         <classpath refid="test.classpath"/>
       </java>
     </target>
  +-->  
  +  <target name="test.io" depends="compile.tests">
  +   
  +   <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/>
  +   
  +    <junit printsummary="yes" haltonfailure="${test.failonerror}" fork="yes">
   
  +      <formatter type="brief" usefile="false"/> 
  +      <classpath refid="test.classpath"/>
  +
  +     <batchtest todir="${build.home}/tests">
  +        <fileset dir="${build.home}/tests">
  +          <include name="**/test/*TestCase.class"/>
  +          <include name="**/*Test.class" />
  +          <include name="**/*TestCase.class" />          
  +          <include name="**/Test*.class" />
  +          <exclude name="**/AllTest.class" />
  +          <exclude name="**/*$$*Test.class" />
  +        </fileset>
  +      </batchtest>
  +    </junit>  
  +  </target>
  +  
   </project>
  
  
  

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


Mime
View raw message