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:
Robert Muir 2010-03-23 14:37:27 +00:00
parent 94eb33a1df
commit b93a922a5e
1 changed files with 4 additions and 2 deletions

View File

@ -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>