cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ovi...@apache.org
Subject cvs commit: xml-cocoon2 build.xml
Date Sun, 19 May 2002 19:36:18 GMT
ovidiu      02/05/19 12:36:18

  Modified:    .        build.xml
  Log:
  Added support for running Anteater tests.
  
  Revision  Changes    Path
  1.209     +22 -1     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.208
  retrieving revision 1.209
  diff -u -r1.208 -r1.209
  --- build.xml	19 May 2002 19:26:13 -0000	1.208
  +++ build.xml	19 May 2002 19:36:18 -0000	1.209
  @@ -1728,7 +1728,14 @@
     <!-- =================================================================== -->
     <!-- Test targets                                                       -->
     <!-- =================================================================== -->
  -  <target name="test" depends="compile" description="[admin] Perform jUnit tests">
  +  <target name="test" depends="junit.tests, anteater.tests"
  +          description="Runs all the tests"/>
  +
  +
  +  <!-- =================================================================== -->
  +  <!-- Junit Test targets                                                  -->
  +  <!-- =================================================================== -->
  +  <target name="junit.tests" depends="compile" description="[admin] Perform jUnit tests">
       <mkdir dir="${build.test}"/>
       <!-- Copy test files to build test dir -->
       <copy todir="${build.test}" filtering="on">
  @@ -1763,6 +1770,20 @@
           </fileset>
         </batchtest>
       </junit>
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Anteater tests                                                      -->
  +  <!-- =================================================================== -->
  +  <target name="anteater.tests" depends="prepare-webapp-libs"
  +          description="Runs the Anteater functional tests">
  +    <property name="host" value="localhost"/>
  +    <property name="port" value="8080"/>
  +    <property name="base" value="cocoon"/>
  +
  +    <exec executable="anteater">
  +      <arg line="-f src/test/anteater/all-tests.xml -Dhost=${host} -Dport=${port} -Dbase=${base}"/>
  +    </exec>
     </target>
   
     <!-- =================================================================== -->
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message