mirror of https://github.com/apache/lucene.git
make sure tests.verbose works in solr, print test params when verbose is set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1039868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4e90ddd567
commit
feb3a59875
|
@ -368,8 +368,8 @@ public abstract class LuceneTestCase extends Assert {
|
|||
}
|
||||
}
|
||||
stores = null;
|
||||
// if tests failed, report some information back
|
||||
if (testsFailed)
|
||||
// if verbose or tests failed, report some information back
|
||||
if (VERBOSE || testsFailed)
|
||||
System.out.println("NOTE: test params are: codec=" + codecDescription +
|
||||
", locale=" + locale +
|
||||
", timezone=" + (timeZone == null ? "(null)" : timeZone.getID()));
|
||||
|
|
|
@ -433,6 +433,7 @@
|
|||
<sysproperty key="tests.multiplier" value="${tests.multiplier}"/>
|
||||
<sysproperty key="tests.iter" value="${tests.iter}"/>
|
||||
<sysproperty key="tests.seed" value="${tests.seed}"/>
|
||||
<sysproperty key="tests.verbose" value="${tests.verbose}"/>
|
||||
<sysproperty key="jetty.testMode" value="1"/>
|
||||
<sysproperty key="tempDir" file="@{tempDir}/@{threadNum}"/>
|
||||
<sysproperty key="testmethod" value="${testmethod}"/>
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
<property name="tests.iter" value="1" />
|
||||
<property name="tests.seed" value="random" />
|
||||
<property name="tests.nightly" value="false" />
|
||||
<property name="tests.verbose" value="false" />
|
||||
|
||||
<condition property="dir.prop" value="-Dsolr.directoryFactory=solr.StandardDirectoryFactory">
|
||||
<isset property="use.fsdir"/>
|
||||
|
|
|
@ -147,6 +147,7 @@
|
|||
<sysproperty key="tests.timezone" value="${tests.timezone}"/>
|
||||
<sysproperty key="tests.multiplier" value="${tests.multiplier}"/>
|
||||
<sysproperty key="tests.seed" value="${tests.seed}"/>
|
||||
<sysproperty key="tests.verbose" value="${tests.verbose}"/>
|
||||
<sysproperty key="tests.iter" value="${tests.iter}"/>
|
||||
<!-- set whether or not nightly tests should run -->
|
||||
<sysproperty key="tests.nightly" value="${tests.nightly}"/>
|
||||
|
|
|
@ -115,6 +115,7 @@
|
|||
<sysproperty key="tests.timezone" value="${tests.timezone}"/>
|
||||
<sysproperty key="tests.multiplier" value="${tests.multiplier}"/>
|
||||
<sysproperty key="tests.seed" value="${tests.seed}"/>
|
||||
<sysproperty key="tests.verbose" value="${tests.verbose}"/>
|
||||
<sysproperty key="tests.iter" value="${tests.iter}"/>
|
||||
<!-- set whether or not nightly tests should run -->
|
||||
<sysproperty key="tests.nightly" value="${tests.nightly}"/>
|
||||
|
|
|
@ -168,6 +168,7 @@
|
|||
<sysproperty key="tests.multiplier" value="${tests.multiplier}"/>
|
||||
<sysproperty key="tests.iter" value="${tests.iter}"/>
|
||||
<sysproperty key="tests.seed" value="${tests.seed}"/>
|
||||
<sysproperty key="tests.verbose" value="${tests.verbose}"/>
|
||||
<!-- set whether or not nightly tests should run -->
|
||||
<sysproperty key="tests.nightly" value="${tests.nightly}"/>
|
||||
<sysproperty key="jetty.testMode" value="1"/>
|
||||
|
@ -228,6 +229,7 @@
|
|||
<sysproperty key="tests.multiplier" value="${tests.multiplier}"/>
|
||||
<sysproperty key="tests.iter" value="${tests.iter}"/>
|
||||
<sysproperty key="tests.seed" value="${tests.seed}"/>
|
||||
<sysproperty key="tests.verbose" value="${tests.verbose}"/>
|
||||
<!-- set whether or not nightly tests should run -->
|
||||
<sysproperty key="tests.nightly" value="${tests.nightly}"/>
|
||||
<sysproperty key="jetty.testMode" value="1"/>
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
<sysproperty key="tests.multiplier" value="${tests.multiplier}"/>
|
||||
<sysproperty key="tests.iter" value="${tests.iter}"/>
|
||||
<sysproperty key="tests.seed" value="${tests.seed}"/>
|
||||
<sysproperty key="tests.verbose" value="${tests.verbose}"/>
|
||||
<!-- set whether or not nightly tests should run -->
|
||||
<sysproperty key="tests.nightly" value="${tests.nightly}"/>
|
||||
<sysproperty key="jetty.testMode" value="1"/>
|
||||
|
|
Loading…
Reference in New Issue