mirror of https://github.com/apache/lucene.git
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr
This commit is contained in:
commit
d4ece81833
|
@ -150,6 +150,10 @@ Build
|
|||
|
||||
* LUCENE-7665: Remove grouping dependency from the join module.
|
||||
(Martijn van Groningen)
|
||||
|
||||
* SOLR-10023: Add non-recursive 'test-nocompile' target: Only runs unit tests.
|
||||
Jars are not downloaded; compilation is not updated; and Clover is not enabled.
|
||||
(Steve Rowe)
|
||||
|
||||
Other
|
||||
|
||||
|
|
|
@ -105,6 +105,9 @@
|
|||
<target name="test">
|
||||
<forall-analyzers target="test"/>
|
||||
</target>
|
||||
<target name="test-nocompile">
|
||||
<fail message="Target 'test-nocompile' will not run recursively. First change directory to the module you want to test."/>
|
||||
</target>
|
||||
<target name="beast">
|
||||
<fail message="The Beast only works inside of individual modules"/>
|
||||
</target>
|
||||
|
|
|
@ -293,7 +293,9 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
|
|||
"6.3.0-cfs",
|
||||
"6.3.0-nocfs",
|
||||
"6.4.0-cfs",
|
||||
"6.4.0-nocfs"
|
||||
"6.4.0-nocfs",
|
||||
"6.4.1-cfs",
|
||||
"6.4.1-nocfs"
|
||||
};
|
||||
|
||||
final String[] unsupportedNames = {
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -56,6 +56,10 @@
|
|||
<target name="test" depends="-clover.load, -init-totals, test-core, test-test-framework, test-modules, -check-totals"
|
||||
description="Runs all unit tests (core, modules and back-compat)"
|
||||
/>
|
||||
<target name="test-nocompile">
|
||||
<fail message="Target 'test-nocompile' will not run recursively. First change directory to the module you want to test."/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="pitest" depends="pitest-modules"
|
||||
description="Runs pitests (core, modules and back-compat)"
|
||||
|
|
|
@ -1336,6 +1336,11 @@ ant -f lucene/build.xml test-updatecache
|
|||
# Miscellaneous. --------------------------------------------------
|
||||
#
|
||||
|
||||
# Only run test(s), non-recursively. Faster than "ant test".
|
||||
# WARNING: Skips jar download and compilation. Clover not supported.
|
||||
ant test-nocompile
|
||||
ant -Dtestcase=... test-nocompile
|
||||
|
||||
# Run all tests without stopping on errors (inspect log files!).
|
||||
ant -Dtests.haltonfailure=false test
|
||||
|
||||
|
@ -1393,6 +1398,9 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
|
|||
<target name="test" depends="clover,compile-test,install-junit4-taskdef,validate,-init-totals,-test,-check-totals" description="Runs unit tests"/>
|
||||
<target name="beast" depends="clover,compile-test,install-junit4-taskdef,validate,-init-totals,-beast,-check-totals" description="Runs unit tests in a loop (-Dbeast.iters=n)"/>
|
||||
|
||||
<target name="test-nocompile" depends="-clover.disable,install-junit4-taskdef,-init-totals,-test,-check-totals"
|
||||
description="Only runs unit tests. Jars are not downloaded; compilation is not updated; and Clover is not enabled."/>
|
||||
|
||||
<target name="-jacoco-install">
|
||||
<!-- download jacoco from ivy if needed -->
|
||||
<ivy:cachepath organisation="org.jacoco" module="org.jacoco.ant" type="jar" inline="true" revision="0.7.4.201502262128"
|
||||
|
|
|
@ -137,6 +137,9 @@
|
|||
|
||||
<target name="test" description="Validate, then run core, solrj, and contrib unit tests."
|
||||
depends="-init-totals, test-core, test-contrib, -check-totals"/>
|
||||
<target name="test-nocompile">
|
||||
<fail message="Target 'test-nocompile' will not run recursively. First change directory to the module you want to test."/>
|
||||
</target>
|
||||
|
||||
<target name="jacoco" description="Generates JaCoCo code coverage reports." depends="-jacoco-install">
|
||||
<!-- run jacoco for each module -->
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
<!-- example tests are currently elsewhere -->
|
||||
<target name="test"/>
|
||||
<target name="test-nocompile"/>
|
||||
|
||||
<!-- this module has no javadocs -->
|
||||
<target name="javadocs"/>
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
<!-- example tests are currently elsewhere -->
|
||||
<target name="test"/>
|
||||
<target name="test-nocompile"/>
|
||||
|
||||
<!-- this module has no javadocs -->
|
||||
<target name="javadocs"/>
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
<target name="compile-core"/>
|
||||
<target name="compile-test"/>
|
||||
<target name="test"/>
|
||||
<target name="test-nocompile"/>
|
||||
|
||||
<target name="dist"
|
||||
description="Creates the Webapp folder for distribution."
|
||||
|
|
Loading…
Reference in New Issue