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 2010/05/04 16:44:29 UTC

svn commit: r940878 - /lucene/dev/trunk/lucene/build.xml

Author: uschindler
Date: Tue May  4 14:44:29 2010
New Revision: 940878

URL: http://svn.apache.org/viewvc?rev=940878&view=rev
Log:
fix the if statements that broke with parallel testing

Modified:
    lucene/dev/trunk/lucene/build.xml

Modified: lucene/dev/trunk/lucene/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/build.xml?rev=940878&r1=940877&r2=940878&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/build.xml (original)
+++ lucene/dev/trunk/lucene/build.xml Tue May  4 14:44:29 2010
@@ -124,7 +124,7 @@ The source distribution does not contain
   	</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
   	</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"/>