when running sequential (e.g. -Dtestcase) use a plain formattter

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1043693 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-12-08 21:42:34 +00:00
parent 064e8dc60a
commit f0f1d62071
2 changed files with 10 additions and 2 deletions

View File

@ -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"/>

View File

@ -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 -->