]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Tweak - Add property junit.maxmemory to allow local override
authorAndreas L. Delmelle <adelmelle@apache.org>
Sat, 23 May 2015 20:23:38 +0000 (20:23 +0000)
committerAndreas L. Delmelle <adelmelle@apache.org>
Sat, 23 May 2015 20:23:38 +0000 (20:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1681376 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index 1cfb90a47cf6069fb0291690851c723d38d7965c..d63c593a2fddbc2e793415df2f7e3419b7687c82 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -160,6 +160,7 @@ list of possible build targets.
   <property name="javac.fork" value="no"/>
   <property name="junit.fork" value="yes"/>
   <property name="junit.haltonfailure" value="off"/>
+  <property name="junit.maxmemory" value="256m"/>
   <property name="junit.printsummary" value="off"/>
   <property name="junit.formatter.brief" value="on"/>
   <property name="javadoc.packages" value="org.apache.fop.*"/>
@@ -225,7 +226,7 @@ list of possible build targets.
     <junit haltonfailure="${junit.haltonfailure}"
       fork="${junit.fork}"
       printsummary="${junit.printsummary}"
-      maxmemory="256m"/>
+      maxmemory="${junit.maxmemory}"/>
   </presetdef>
   
   <!-- =================================================================== -->
@@ -815,9 +816,9 @@ list of possible build targets.
         <classpath>
           <path refid="@{classpath}"/>
         </classpath>
-       <assertions>
-         <enable/>
-       </assertions>
+        <assertions>
+          <enable/>
+        </assertions>
         <test name="@{testsuite}" todir="${junit.reports.dir}" outfile="@{outfile}"/>
       </junit>
     </sequential>