Apache Lucene open-source search software
when running sequential (e.g. -Dtestcase) use a plain formattter
Robert Muirf0f1d62071aa
diff --git a/lucene/common-build.xml b/lucene/common-build.xmlindex 2659c0e2235..5b37aca64ed 100644--- a/lucene/common-build.xml+++ b/lucene/common-build.xml@@ -135,7 +135,11 @@<property name="junit.reports" location="${build.dir}/test/reports"/><property name="junit.reports.backwards" location="${build.dir.backwards}/test/reports"/><property name="junit.excludes" value=""/>- <property name="junit.details.formatter" value="org.apache.lucene.util.LuceneJUnitResultFormatter"/>+ <condition property="junit.details.formatter"+ value="org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter"+ else="org.apache.lucene.util.LuceneJUnitResultFormatter">+ <isset property="tests.sequential"/>+ </condition><property name="junit.parallel.selector" value="org.apache.lucene.util.LuceneJUnitDividingSelector"/><property name="manifest.file" location="${common.dir}/build/MANIFEST.MF"/>diff --git a/solr/common-build.xml b/solr/common-build.xmlindex 57b56adafe6..6e620097bc0 100644--- a/solr/common-build.xml+++ b/solr/common-build.xml@@ -134,7 +134,11 @@<property name="junit.output.dir" location="${common-solr.dir}/${dest}/test-results"/><property name="junit.reports" location="${common-solr.dir}/${dest}/test-results/reports"/><property name="junit.formatter" value="plain"/>- <property name="junit.details.formatter" value="org.apache.lucene.util.LuceneJUnitResultFormatter"/>+ <condition property="junit.details.formatter"+ value="org.apache.tools.ant.taskdefs.optional.junit.PlainJUnitResultFormatter"+ else="org.apache.lucene.util.LuceneJUnitResultFormatter">+ <isset property="tests.sequential"/>+ </condition><property name="junit.parallel.selector" value="org.apache.lucene.util.LuceneJUnitDividingSelector"/><!-- Maven properties -->