Author: gadams
Date: Fri Apr 20 23:03:07 2012
New Revision: 1328537

URL: http://svn.apache.org/viewvc?rev=1328537&view=rev
Log:
Improve consistency between junit-run and junit-all targets.

Modified:
    xmlgraphics/fop/trunk/build.xml

Modified: xmlgraphics/fop/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/build.xml?rev=1328537&r1=1328536&r2=1328537&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/build.xml (original)
+++ xmlgraphics/fop/trunk/build.xml Fri Apr 20 23:03:07 2012
@@ -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"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to