Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Re-enable Solr tests on Linux and Windows Jenkins. !!! Hack !!!: Disable *all* of Solr on FreeBSD Jenkins (via sysprop)

Uwe Schindlerfdb070314f70
diff --git a/build.xml b/build.xml
index a662e0e674a..575f35942a7 100644
--- a/build.xml
+++ b/build.xml
@@ -38,9 +38,7 @@
<target name="test" description="Test both Lucene and Solr">
<subant target="test" inheritall="false" failonerror="true">
<fileset dir="lucene" includes="build.xml" />
- <!-- enable again when solr tests are passing
<fileset dir="solr" includes="build.xml" />
- -->
</subant>
</target>
diff --git a/solr/common-build.xml b/solr/common-build.xml
index 4dc833746e3..3b196529ff3 100644
--- a/solr/common-build.xml
+++ b/solr/common-build.xml
@@ -432,4 +432,9 @@
<delete dir="${dest}/web" includes="**/*" failonerror="false"/>
<contrib-crawl target="add-to-war"/>
</target>
+
+ <!-- hack for now to disable *all* Solr tests on Jenkins when "tests.disable-solr" property is set -->
+ <target name="test" unless="tests.disable-solr">
+ <antcall target="common.test"/>
+ </target>
</project>