Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-1709: use the build temp dir for junit temp files, prevents obnoxious junit temp files from littering the source tree

Robert Muir3ae65e769c4e
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index f8e19f13f54..59e4d2a9f62 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -423,7 +423,7 @@
This is very loud and obnoxious. abuse touch instead for a "quiet" mkdir
-->
<touch file="@{tempDir}/@{pattern}/quiet.ant" verbose="false" mkdirs="true"/>
- <junit printsummary="off" haltonfailure="no" maxmemory="512M"
+ <junit printsummary="off" haltonfailure="no" maxmemory="512M" tempdir="@{tempDir}/@{pattern}"
errorProperty="tests.failed" failureProperty="tests.failed" forkmode="perBatch" dir=".">
<classpath refid="@{junit.classpath}"/>
<assertions>