aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-04-20 23:03:07 +0000
committerGlenn Adams <gadams@apache.org>2012-04-20 23:03:07 +0000
commitc8c417405ad26ba3d2a84ebed18c6d050b1288cf (patch)
treeab24a13ef5b4450bbe847499902d30001a29cf59 /build.xml
parent46917ef59fd0ffbbcccb16d57118a92da3dc1e0d (diff)
downloadxmlgraphics-fop-c8c417405ad26ba3d2a84ebed18c6d050b1288cf.tar.gz
xmlgraphics-fop-c8c417405ad26ba3d2a84ebed18c6d050b1288cf.zip
Improve consistency between junit-run and junit-all targets.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1328537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 3cd62f862..96c8556c9 100644
--- a/build.xml
+++ b/build.xml
@@ -790,7 +790,8 @@ list of possible build targets.
<attribute name="classpath" default="standard-junit-classpath"/>
<sequential>
<echo message="Running @{title} tests..."/>
- <junit dir="${basedir}" errorproperty="fop.junit.error" failureproperty="fop.junit.failure" printsummary="${junit.printsummary}">
+ <junit dir="${basedir}" haltonfailure="yes" fork="${junit.fork}" forkmode="once"
+ errorproperty="fop.junit.error" failureproperty="fop.junit.failure" printsummary="${junit.printsummary}">
<sysproperty key="basedir" value="${basedir}/@{basedir}"/>
<sysproperty key="jawa.awt.headless" value="true"/>
<formatter type="brief" usefile="false" if="junit.formatter.brief.use"/>
@@ -809,7 +810,7 @@ list of possible build targets.
<target name="junit-all" depends="junit-compile, junit-transcoder, junit-layout-hyphenation"
description="Runs FOP's JUnit basic tests" if="junit.present">
<junit dir="${basedir}" haltonfailure="yes" fork="${junit.fork}" forkmode="once"
- errorproperty="fop.junit.error" failureproperty="fop.junit.failure">
+ errorproperty="fop.junit.error" failureproperty="fop.junit.failure" printsummary="${junit.printsummary}">
<sysproperty key="jawa.awt.headless" value="true"/>
<formatter type="brief" usefile="false" if="junit.formatter.brief.use"/>
<formatter type="plain" usefile="true"/>