LUCENE-3808: rename tests.threadspercpu into tests.jvms.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326427 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dawid Weiss 2012-04-15 21:45:10 +00:00
parent f17b740d40
commit 2df0423244
4 changed files with 7 additions and 7 deletions

View File

@ -77,7 +77,7 @@
<property name="args" value=""/>
<property name="tests.seed" value="" />
<property name="tests.threadspercpu" value="auto" />
<property name="tests.jvms" value="auto" />
<property name="tests.multiplier" value="1" />
<property name="tests.codec" value="random" />
<property name="tests.postingsformat" value="random" />
@ -891,12 +891,12 @@ ant -Dtests.slow=[false] - slow tests (@Slow)
#
# Run sequentially (one slave JVM).
ant -Dtests.threadspercpu=1 test
ant -Dtests.jvms=1 test
# Run with more slave JVMs than the default.
# Don't count hypercores for CPU-intense tests.
# Make sure there is enough RAM to handle child JVMs.
ant -Dtests.threadspercpu=8 test
ant -Dtests.jvms=8 test
# Use repeatable suite order on slave JVMs (disables job stealing).
ant -Dtests.dynamicAssignmentRatio=0 test
@ -944,7 +944,7 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
jars so we just order it after compile-test to ensure that -->
<target name="test" depends="compile-test,install-junit4-taskdef,validate" description="Runs unit tests">
<mkdir dir="${junit.output.dir}"/>
<test-macro threadNum="${tests.threadspercpu}" />
<test-macro threadNum="${tests.jvms}" />
</target>
<!--

View File

@ -26,7 +26,7 @@
<property name="build.dir" location="../build/uima" />
<property name="dist.dir" location="../dist/uima" />
<property name="tests.userdir" value="src/test-files"/>
<property name="tests.threadspercpu" value="0" />
<property name="tests.jvms" value="1" />
<path id="uimajars">
<pathelement path="lib/uimaj-core-2.3.1.jar"/>

View File

@ -31,7 +31,7 @@
<property name="working.dir" location="work"/>
<!-- the tests have some parallel problems -->
<property name="tests.threadspercpu" value="0"/>
<property name="tests.jvms" value="1"/>
<target name="check-files">
<available file="temp/news20.tar.gz" property="news20.exists"/>

View File

@ -24,7 +24,7 @@
</description>
<!-- the tests have some parallel problems: writability to single copy of dataimport.properties -->
<property name="tests.threadspercpu" value="0"/>
<property name="tests.jvms" value="1"/>
<import file="../contrib-build.xml"/>