mirror of https://github.com/apache/lucene.git
fix the if statements that broke with parallel testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@940878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e00e3c763a
commit
a96f5e9549
|
@ -124,7 +124,7 @@ The source distribution does not contain sources of the previous Lucene Java ver
|
||||||
</sequential>
|
</sequential>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="test-backwards" depends="compile-backwards, junit-backwards-mkdir, junit-backwards-sequential, junit-backwards-parallel"/>
|
<target name="test-backwards" depends="compile-backwards, junit-backwards-mkdir, junit-backwards-sequential, junit-backwards-parallel" if="backwards.available"/>
|
||||||
|
|
||||||
<target name="junit-backwards-mkdir">
|
<target name="junit-backwards-mkdir">
|
||||||
<mkdir dir="${build.dir.backwards}/test"/>
|
<mkdir dir="${build.dir.backwards}/test"/>
|
||||||
|
@ -145,11 +145,11 @@ The source distribution does not contain sources of the previous Lucene Java ver
|
||||||
</sequential>
|
</sequential>
|
||||||
</macrodef>
|
</macrodef>
|
||||||
|
|
||||||
<target name="junit-backwards-sequential" if="runsequential">
|
<target name="junit-backwards-sequential" if="runsequential,backwards.available">
|
||||||
<backwards-test-macro/>
|
<backwards-test-macro/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="junit-backwards-parallel" unless="runsequential">
|
<target name="junit-backwards-parallel" unless="runsequential" if="backwards.available">
|
||||||
<parallel threadsPerProcessor="${threadsPerProcessor}">
|
<parallel threadsPerProcessor="${threadsPerProcessor}">
|
||||||
<backwards-test-macro threadNum="1" threadTotal="8"/>
|
<backwards-test-macro threadNum="1" threadTotal="8"/>
|
||||||
<backwards-test-macro threadNum="2" threadTotal="8"/>
|
<backwards-test-macro threadNum="2" threadTotal="8"/>
|
||||||
|
|
Loading…
Reference in New Issue