LUCENE-4217: Make it easier to configure clover by adding correct test properties / mem size automatically

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361512 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-07-14 10:11:50 +00:00
parent c0d02bc3c8
commit bf7a69fe16
1 changed files with 11 additions and 0 deletions

View File

@ -95,7 +95,17 @@
<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" />
@ -788,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}"/>