Author: kkolinko
Date: Mon Jan  9 19:17:34 2012
New Revision: 1229307

URL: http://svn.apache.org/viewvc?rev=1229307&view=rev
Log:
Further improve Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=52237
Make "usefile" flag of junit formatter configurable as well. The default value 
is "true".

Modified:
    tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1229307&r1=1229306&r2=1229307&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Mon Jan  9 19:17:34 2012
@@ -1067,9 +1067,10 @@
     </javac>
   </target>
 
-  <!-- Default JUnit formatter log output -->
-  <property name="junit.formatter.type" value="plain"/>
-  <property name="junit.formatter.extension" value=".txt"/>
+  <!-- Default JUnit log output formatter -->
+  <property name="junit.formatter.type" value="plain" />
+  <property name="junit.formatter.usefile" value="true" />
+  <property name="junit.formatter.extension" value=".txt" />
 
   <target name="test" description="Runs the JUnit test cases"
           depends="test-bio,test-nio,test-apr" >
@@ -1126,7 +1127,9 @@
         <sysproperty key="tomcat.test.protocol" value="@{protocol}" />
         <sysproperty key="tomcat.test.accesslog" value="${test.accesslog}" />
 
-        <formatter type="${junit.formatter.type}" usefile="true" 
extension="@{extension}${junit.formatter.extension}"/>
+        <formatter type="${junit.formatter.type}"
+                   usefile="${junit.formatter.usefile}"
+                   extension="@{extension}${junit.formatter.extension}" />
 
         <!-- If test.entry is defined, run a single test, otherwise run all 
valid tests -->
         <test todir="${tomcat.build}/logs" name="${test.entry}" 
if="test.entry"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to