aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorarved <arved@unknown>2001-05-10 01:44:04 +0000
committerarved <arved@unknown>2001-05-10 01:44:04 +0000
commit96ef52e8580b3fc5f670b577445e75de020a9fdd (patch)
tree58e1dd4f2d942841120878658868cb8f811d5045 /build.xml
parentb16c4cfa1dedd19d0c16e9cfdae8938a24ed8c03 (diff)
downloadxmlgraphics-fop-96ef52e8580b3fc5f670b577445e75de020a9fdd.tar.gz
xmlgraphics-fop-96ef52e8580b3fc5f670b577445e75de020a9fdd.zip
K. Liddle: testing support
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 38334334d..47f797953 100644
--- a/build.xml
+++ b/build.xml
@@ -267,6 +267,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
<taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern"/>
<taskdef name="xslt" classname="org.apache.fop.tools.anttasks.Xslt"/>
<taskdef name="manifest" classname="org.apache.fop.tools.anttasks.Manifest"/>
+ <taskdef name="runTest" classname="org.apache.fop.tools.anttasks.RunTest"/>
<property name="main.class" value="org.apache.fop.apps.Fop"/>
<property name="runtime.classpath" value="lib/xerces-1.2.3.jar lib/xalan-2.0.0.jar lib/xalanj1compat.jar lib/w3c.jar lib/jimi-1.0.jar"/>
@@ -557,6 +558,12 @@ Sometimes ant gives out this warnings, but the build is finished without any pro
includes="org/**,conf/**,hyph/**"/>
</target>
+ <target name="test" depends="package">
+ <echo message="Testing build in jar file ${build.dir}/${name}.jar against reference"/>
+ <runTest testSuite="basictests.xml" basedir="test/" reference="reference/fop.jar"
+ refVersion="FOP 0.19.0-CVS"/>
+ </target>
+
<target name="all" depends="package"/> <!-- "all" target for us Makefile converts ;-) -->
<target name="package-jdk11" depends="compile-jdk11,hyphenation">