ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/aut build.xml
Date Wed, 10 Apr 2002 13:22:20 GMT
donaldp     02/04/10 06:22:20

  Modified:    aut      build.xml
  Log:
  Started to get the unit tests working
  
  Revision  Changes    Path
  1.3       +21 -0     jakarta-ant-myrmidon/aut/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/aut/build.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.xml	10 Apr 2002 12:30:40 -0000	1.2
  +++ build.xml	10 Apr 2002 13:22:20 -0000	1.3
  @@ -151,11 +151,30 @@
   
           <mkdir dir="${build.tests}"/>
   
  +        <property name="test.working.dir" location="${build.dir}/test"/>
  +
  +        <!-- Prepare the VFS tests -->
  +        <property name="test.vfs.dir" location="${test.working.dir}/org/apache/aut/vfs/test"/>
  +        <mkdir dir="${test.vfs.dir}/write-tests"/>
  +        <mkdir dir="${test.vfs.dir}/basedir/emptydir"/>
  +        <zip zipfile="${test.vfs.dir}/test.zip">
  +            <fileset dir="${test.vfs.dir}" includes="basedir/**"/>
  +        </zip>
  +        <zip zipfile="${test.vfs.dir}/nested.zip">
  +            <fileset dir="${test.vfs.dir}" includes="test.zip"/>
  +        </zip>
  +        <copy todir="${test.working.dir}">
  +            <fileset dir="${test.dir}">
  +                <exclude name="**/*.java"/>
  +            </fileset>
  +        </copy>
  +
           <junit fork="true"
               haltonfailure="${junit.failonerror}"
               printsummary="yes"
               dir="${build.tests}">
               <classpath refid="project.class.path"/>
  +            <sysproperty key="test.basedir" value="${test.working.dir}"/>
   
               <formatter type="xml"/>    <!-- xml reports for junitreport -->
               <formatter type="plain"/>  <!-- text reports for humans     -->
  @@ -163,6 +182,8 @@
               <batchtest todir="${build.tests}">
                   <fileset dir="${build.classes}">
                       <include name="**/test/*TestCase.class"/>
  +                    <exclude name="**/SmbFileSystemTestCase.class" unless="test.smb"/>
  +                    <exclude name="**/FtpFileSystemTestCase.class" unless="test.ftp"/>
                       <exclude name="**/Abstract*"/>
                   </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