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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]