LUCENE-1709: specify output dir as temp dir, prevents junit temp files from littering the src tree

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@933543 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-04-13 11:01:46 +00:00
parent 29334f61cb
commit af9ee162d7
5 changed files with 5 additions and 0 deletions

View File

@ -447,6 +447,7 @@
errorProperty="tests.failed" errorProperty="tests.failed"
failureProperty="tests.failed" failureProperty="tests.failed"
dir="src/test/test-files/" dir="src/test/test-files/"
tempdir="${junit.output.dir}"
> >
<sysproperty key="java.util.logging.config.file" value="${common-solr.dir}/testlogging.properties"/> <sysproperty key="java.util.logging.config.file" value="${common-solr.dir}/testlogging.properties"/>
<sysproperty key="tests.luceneMatchVersion" value="${tests.luceneMatchVersion}"/> <sysproperty key="tests.luceneMatchVersion" value="${tests.luceneMatchVersion}"/>

View File

@ -136,6 +136,7 @@
errorProperty="tests.failed" errorProperty="tests.failed"
failureProperty="tests.failed" failureProperty="tests.failed"
dir="src/test/resources/" dir="src/test/resources/"
tempdir="${junit.output.dir}"
> >
<formatter type="brief" usefile="false" if="junit.details"/> <formatter type="brief" usefile="false" if="junit.details"/>
<classpath refid="test.classpath"/> <classpath refid="test.classpath"/>

View File

@ -135,6 +135,7 @@
errorProperty="tests.failed" errorProperty="tests.failed"
failureProperty="tests.failed" failureProperty="tests.failed"
dir="src/test/resources/" dir="src/test/resources/"
tempdir="${junit.output.dir}"
> >
<formatter type="brief" usefile="false" if="junit.details"/> <formatter type="brief" usefile="false" if="junit.details"/>
<classpath refid="test.classpath"/> <classpath refid="test.classpath"/>

View File

@ -85,6 +85,7 @@
errorProperty="tests.failed" errorProperty="tests.failed"
failureProperty="tests.failed" failureProperty="tests.failed"
dir="src/test/resources/" dir="src/test/resources/"
tempdir="${junit.output.dir}"
> >
<formatter type="brief" usefile="false" if="junit.details"/> <formatter type="brief" usefile="false" if="junit.details"/>
<classpath refid="test.classpath"/> <classpath refid="test.classpath"/>

View File

@ -83,6 +83,7 @@
errorProperty="tests.failed" errorProperty="tests.failed"
failureProperty="tests.failed" failureProperty="tests.failed"
dir="src/main" dir="src/main"
tempdir="${junit.output.dir}"
> >
<sysproperty key="java.util.logging.config.file" value="${common-solr.dir}/testlogging.properties"/> <sysproperty key="java.util.logging.config.file" value="${common-solr.dir}/testlogging.properties"/>
<formatter type="brief" usefile="false"/> <formatter type="brief" usefile="false"/>