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:
Uwe Schindler 2010-05-04 14:44:29 +00:00
parent e00e3c763a
commit a96f5e9549
1 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ The source distribution does not contain sources of the previous Lucene Java ver
</sequential>
</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">
<mkdir dir="${build.dir.backwards}/test"/>
@ -145,11 +145,11 @@ The source distribution does not contain sources of the previous Lucene Java ver
</sequential>
</macrodef>
<target name="junit-backwards-sequential" if="runsequential">
<target name="junit-backwards-sequential" if="runsequential,backwards.available">
<backwards-test-macro/>
</target>
<target name="junit-backwards-parallel" unless="runsequential">
<target name="junit-backwards-parallel" unless="runsequential" if="backwards.available">
<parallel threadsPerProcessor="${threadsPerProcessor}">
<backwards-test-macro threadNum="1" threadTotal="8"/>
<backwards-test-macro threadNum="2" threadTotal="8"/>