SOLR-4195: Remove unused sysprop from test runner and enforce absolute pathnames by using the file= attribute of sysproperty

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422397 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-12-15 22:52:02 +00:00
parent 307ebd17cb
commit 2fb382ee07
1 changed files with 3 additions and 6 deletions

View File

@ -177,7 +177,6 @@
<property name="build.dir" location="build"/> <property name="build.dir" location="build"/>
<!-- Needed in case a module needs the original build, also for compile-tools to be called from a module --> <!-- Needed in case a module needs the original build, also for compile-tools to be called from a module -->
<property name="common.build.dir" location="${common.dir}/build"/> <property name="common.build.dir" location="${common.dir}/build"/>
<property name="tests.lockdir" location="${common.build.dir}"/>
<property name="dist.dir" location="${common.dir}/dist"/> <property name="dist.dir" location="${common.dir}/dist"/>
<property name="maven.dist.dir" location="${dist.dir}/maven"/> <property name="maven.dist.dir" location="${dist.dir}/maven"/>
<makeurl file="${maven.dist.dir}" property="m2.repository.url" validate="false"/> <makeurl file="${maven.dist.dir}" property="m2.repository.url" validate="false"/>
@ -858,8 +857,6 @@
<sysproperty key="tests.verbose" value="${tests.verbose}"/> <sysproperty key="tests.verbose" value="${tests.verbose}"/>
<!-- even more debugging --> <!-- even more debugging -->
<sysproperty key="tests.infostream" value="${tests.infostream}"/> <sysproperty key="tests.infostream" value="${tests.infostream}"/>
<!-- directory for formatter lock -->
<sysproperty key="tests.lockdir" value="${tests.lockdir}"/>
<!-- set the codec tests should run with --> <!-- set the codec tests should run with -->
<sysproperty key="tests.codec" value="${tests.codec}"/> <sysproperty key="tests.codec" value="${tests.codec}"/>
<!-- set the postingsformat tests should run with --> <!-- set the postingsformat tests should run with -->
@ -896,10 +893,10 @@
<sysproperty key="java.io.tmpdir" value="." /> <sysproperty key="java.io.tmpdir" value="." />
<!-- Restrict access to certain Java features and install security manager: --> <!-- Restrict access to certain Java features and install security manager: -->
<sysproperty key="tests.sandbox.dir" value="${tests.tempDir}" /> <sysproperty key="tests.sandbox.dir" file="${tests.tempDir}" />
<sysproperty key="clover.db.dir" value="${clover.db.dir}" /> <sysproperty key="clover.db.dir" file="${clover.db.dir}" />
<sysproperty key="java.security.manager" value="org.apache.lucene.util.TestSecurityManager" /> <sysproperty key="java.security.manager" value="org.apache.lucene.util.TestSecurityManager" />
<sysproperty key="java.security.policy" value="${common.dir}/tools/junit4/tests.policy" /> <sysproperty key="java.security.policy" file="${common.dir}/tools/junit4/tests.policy" />
<sysproperty key="lucene.version" value="${dev.version}"/> <sysproperty key="lucene.version" value="${dev.version}"/>