Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-1835: only create the output dir once when doing parallel tests

Robert Muirb93a922a5e1c
diff --git a/solr/build.xml b/solr/build.xml
index 1f738933b92..3a9c53769c0 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -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>