Skip to content

Apache Lucene open-source search software

add support for -Dtests.codec to solr tests

Robert Muir69597e5a8709
diff --git a/solr/build.xml b/solr/build.xml
index fb5d68a3c98..d2db702b8bd 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -435,6 +435,7 @@
>
<sysproperty key="java.util.logging.config.file" value="${common-solr.dir}/testlogging.properties"/>
<sysproperty key="tests.luceneMatchVersion" value="${tests.luceneMatchVersion}"/>
+ <sysproperty key="tests.codec" value="${tests.codec}"/>
<jvmarg line="${dir.prop}"/>
<jvmarg line="${args}"/>
diff --git a/solr/common-build.xml b/solr/common-build.xml
index 805bb769cec..4171c82c3d5 100644
--- a/solr/common-build.xml
+++ b/solr/common-build.xml
@@ -44,6 +44,8 @@
<!-- TODO: measure toning this down by default to 1 -->
<property name="threadsPerProcessor" value="2"/>
+ <property name="tests.codec" value="Standard" />
+
<!-- Example directory -->
<property name="example" value="${common-solr.dir}/example" />
<!--