mirror of https://github.com/apache/lucene.git
SOLR-1835: only create the output dir once when doing parallel tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926595 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
94eb33a1df
commit
b93a922a5e
|
@ -379,7 +379,7 @@
|
|||
<isset property="testcase"/>
|
||||
</condition>
|
||||
|
||||
<target name="junit" depends="compileTests,dist-contrib,junit-sequential,junit-parallel"/>
|
||||
<target name="junit" depends="compileTests,dist-contrib,junit-mkdir,junit-sequential,junit-parallel"/>
|
||||
|
||||
<target name="junit-sequential" if="runsequential">
|
||||
<junit-macro/>
|
||||
|
@ -416,12 +416,14 @@
|
|||
</parallel>
|
||||
</target>
|
||||
|
||||
<target name="junit-mkdir">
|
||||
<mkdir dir="${junit.output.dir}"/>
|
||||
</target>
|
||||
|
||||
<macrodef name="junit-macro">
|
||||
<attribute name="pattern" default=""/>
|
||||
<sequential>
|
||||
<!-- no description so it doesn't show up in -projecthelp -->
|
||||
<mkdir dir="${junit.output.dir}"/>
|
||||
<condition property="runall">
|
||||
<not>
|
||||
<or>
|
||||
|
|
Loading…
Reference in New Issue