Skip to content

Apache Lucene open-source search software

add dataDir VM property for test cases to use

Erik Hatcherf08368a613e9
diff --git a/build.xml b/build.xml
index 93d3a20380b..ddaf3ba3d63 100644
--- a/build.xml
+++ b/build.xml
@@ -243,7 +243,7 @@
<junit printsummary="off" haltonfailure="no"
errorProperty="tests.failed" failureProperty="tests.failed">
<classpath refid="junit.classpath"/>
- <!-- <formatter type="plain"/> todo: does anyone use these text files? -->
+ <sysproperty key="dataDir" file="src/test"/>
<formatter type="xml"/>
<formatter type="brief" usefile="false"/>
<batchtest fork="yes" todir="${junit.output.dir}" unless="testcase">