You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2014/09/03 23:07:28 UTC

svn commit: r1622357 - /lucene/dev/trunk/lucene/common-build.xml

Author: uschindler
Date: Wed Sep  3 21:07:27 2014
New Revision: 1622357

URL: http://svn.apache.org/r1622357
Log:
LUCENE-5920: Further silence beasting

Modified:
    lucene/dev/trunk/lucene/common-build.xml

Modified: lucene/dev/trunk/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/common-build.xml?rev=1622357&r1=1622356&r2=1622357&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/common-build.xml (original)
+++ lucene/dev/trunk/lucene/common-build.xml Wed Sep  3 21:07:27 2014
@@ -1161,8 +1161,11 @@
         <echo file="${tests.totals.tmpfile}" append="true" encoding="UTF-8"># module: ${ant.project.name}&#x000a;${junit4.stats.nonIgnored}&#x000a;</echo>
 
         <!-- Report the 5 slowest tests from this run to the console. -->
-        <echo>5 slowest tests:</echo>
-        <junit4:tophints max="5">
+        <local name="tests.showtophints"/>
+        <condition property="tests.showtophints" value="0" else="5">
+          <isset property="beast.iters"/>
+        </condition>
+        <junit4:tophints max="${tests.showtophints}" taskname="slow-tests">
           <file file="${tests.cachedir}/${name}/timehints.txt" />
         </junit4:tophints>
     </sequential>