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 2012/07/14 12:13:51 UTC
svn commit: r1361514 - in /lucene/dev/branches/branch_4x: ./ lucene/
lucene/common-build.xml
Author: uschindler
Date: Sat Jul 14 10:13:51 2012
New Revision: 1361514
URL: http://svn.apache.org/viewvc?rev=1361514&view=rev
Log:
Merged revision(s) 1361512 from lucene/dev/trunk:
LUCENE-4217: Make it easier to configure clover by adding correct test properties / mem size automatically
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/lucene/ (props changed)
lucene/dev/branches/branch_4x/lucene/common-build.xml (contents, props changed)
Modified: lucene/dev/branches/branch_4x/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/common-build.xml?rev=1361514&r1=1361513&r2=1361514&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/common-build.xml (original)
+++ lucene/dev/branches/branch_4x/lucene/common-build.xml Sat Jul 14 10:13:51 2012
@@ -95,7 +95,18 @@
<property name="tests.asserts.gracious" value="false"/>
<property name="tests.verbose" value="false"/>
<property name="tests.infostream" value="${tests.verbose}"/>
+
+ <condition property="tests.heapsize" value="768M">
+ <isset property="run.clover"/>
+ </condition>
<property name="tests.heapsize" value="512M"/>
+
+ <condition property="tests.clover.args" value="-XX:ReservedCodeCacheSize=128m">
+ <isset property="run.clover"/>
+ </condition>
+ <property name="tests.clover.args" value=""/>
+
+ <property name="tests.tempDir" value="${build.dir}/test"/>
<property name="tests.cachefile" location="${common.dir}/tools/junit4/cached-timehints.txt" />
<property name="tests.cachefilehistory" value="20" />
@@ -787,6 +798,7 @@
<!-- JVM arguments and system properties. -->
<jvmarg line="${args}"/>
+ <jvmarg line="${tests.clover.args}"/>
<!-- set the number of times tests should run -->
<sysproperty key="tests.iters" value="${tests.iters}"/>