You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2017/02/04 17:55:56 UTC

[1/6] lucene-solr:master: SOLR-10023: Add non-recursive 'test-nocompile' target: Only runs unit tests. Jars are not download; compilation is not updated; and Clover is not enabled.

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 90b16c6d8 -> 42b71955c
  refs/heads/master f9e36d9d7 -> 9fc13198c


SOLR-10023: Add non-recursive 'test-nocompile' target: Only runs unit tests. Jars are not download; compilation is not updated; and Clover is not enabled.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2d896ee8
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2d896ee8
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2d896ee8

Branch: refs/heads/master
Commit: 2d896ee8d2c45223f6a568f7c115e3f1da9631aa
Parents: f9e36d9
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Feb 4 12:50:36 2017 -0500
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Feb 4 12:50:36 2017 -0500

----------------------------------------------------------------------
 lucene/analysis/build.xml          | 3 +++
 lucene/build.xml                   | 4 ++++
 lucene/common-build.xml            | 8 ++++++++
 solr/build.xml                     | 3 +++
 solr/example/example-DIH/build.xml | 1 +
 solr/server/build.xml              | 1 +
 solr/webapp/build.xml              | 1 +
 7 files changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2d896ee8/lucene/analysis/build.xml
----------------------------------------------------------------------
diff --git a/lucene/analysis/build.xml b/lucene/analysis/build.xml
index bc85ad1..5212cd6 100644
--- a/lucene/analysis/build.xml
+++ b/lucene/analysis/build.xml
@@ -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>

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2d896ee8/lucene/build.xml
----------------------------------------------------------------------
diff --git a/lucene/build.xml b/lucene/build.xml
index 8b73ca6..f004a19 100644
--- a/lucene/build.xml
+++ b/lucene/build.xml
@@ -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)"

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2d896ee8/lucene/common-build.xml
----------------------------------------------------------------------
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index c171386..935ec38 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -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 download; 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"

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2d896ee8/solr/build.xml
----------------------------------------------------------------------
diff --git a/solr/build.xml b/solr/build.xml
index 4c52b03..b900aed 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -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 -->

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2d896ee8/solr/example/example-DIH/build.xml
----------------------------------------------------------------------
diff --git a/solr/example/example-DIH/build.xml b/solr/example/example-DIH/build.xml
index fb82edf..77abc2d 100644
--- a/solr/example/example-DIH/build.xml
+++ b/solr/example/example-DIH/build.xml
@@ -24,6 +24,7 @@
 
   <!-- example tests are currently elsewhere -->
   <target name="test"/>
+  <target name="test-nocompile"/>
 
   <!-- this module has no javadocs -->
   <target name="javadocs"/>

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2d896ee8/solr/server/build.xml
----------------------------------------------------------------------
diff --git a/solr/server/build.xml b/solr/server/build.xml
index ae4e650..d3d7af6 100644
--- a/solr/server/build.xml
+++ b/solr/server/build.xml
@@ -22,6 +22,7 @@
 
   <!-- example tests are currently elsewhere -->
   <target name="test"/>
+  <target name="test-nocompile"/>
 
   <!-- this module has no javadocs -->
   <target name="javadocs"/>

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2d896ee8/solr/webapp/build.xml
----------------------------------------------------------------------
diff --git a/solr/webapp/build.xml b/solr/webapp/build.xml
index c7c5c85..2ebe084 100644
--- a/solr/webapp/build.xml
+++ b/solr/webapp/build.xml
@@ -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."


[4/6] lucene-solr:branch_6x: SOLR-10023: add CHANGES entry

Posted by sa...@apache.org.
SOLR-10023: add CHANGES entry


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/7ccbc24e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/7ccbc24e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/7ccbc24e

Branch: refs/heads/branch_6x
Commit: 7ccbc24edfdace9ae9cea9e889e8a6c470a31012
Parents: 301deb3
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Feb 4 12:54:14 2017 -0500
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Feb 4 12:54:14 2017 -0500

----------------------------------------------------------------------
 lucene/CHANGES.txt | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7ccbc24e/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index b8c29ff..7a7124e 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -92,6 +92,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
 


[3/6] lucene-solr:master: SOLR-10023: add CHANGES entry

Posted by sa...@apache.org.
SOLR-10023: add CHANGES entry


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/59f09f96
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/59f09f96
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/59f09f96

Branch: refs/heads/master
Commit: 59f09f96b8286e6ea8869dd928b1b838a85c6f44
Parents: 2d896ee
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Feb 4 12:53:35 2017 -0500
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Feb 4 12:53:35 2017 -0500

----------------------------------------------------------------------
 lucene/CHANGES.txt | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/59f09f96/lucene/CHANGES.txt
----------------------------------------------------------------------
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 363e2bd..467f697 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -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
 


[5/6] lucene-solr:master: SOLR-10023: Fix typo in 'test-nocompile' target description.

Posted by sa...@apache.org.
SOLR-10023: Fix typo in 'test-nocompile' target description.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9fc13198
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9fc13198
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9fc13198

Branch: refs/heads/master
Commit: 9fc13198ce48b678f341e976dbe45495ba41b2e4
Parents: 59f09f9
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Feb 4 12:55:26 2017 -0500
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Feb 4 12:55:26 2017 -0500

----------------------------------------------------------------------
 lucene/common-build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9fc13198/lucene/common-build.xml
----------------------------------------------------------------------
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 935ec38..2a988eb 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -1399,7 +1399,7 @@ ${tests-output}/junit4-*.suites     - per-JVM executed suites
   <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 download; compilation is not updated; and Clover is not enabled."/>
+          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 -->


[6/6] lucene-solr:branch_6x: SOLR-10023: Fix typo in 'test-nocompile' target description.

Posted by sa...@apache.org.
SOLR-10023: Fix typo in 'test-nocompile' target description.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/42b71955
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/42b71955
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/42b71955

Branch: refs/heads/branch_6x
Commit: 42b71955c04198ef8ff0f6208c724206042ec135
Parents: 7ccbc24
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Feb 4 12:55:26 2017 -0500
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Feb 4 12:55:45 2017 -0500

----------------------------------------------------------------------
 lucene/common-build.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/42b71955/lucene/common-build.xml
----------------------------------------------------------------------
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index d56ee38..1e0b6bc 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -1396,7 +1396,7 @@ ${tests-output}/junit4-*.suites     - per-JVM executed suites
   <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 download; compilation is not updated; and Clover is not enabled."/>
+          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 -->


[2/6] lucene-solr:branch_6x: SOLR-10023: Add non-recursive 'test-nocompile' target: Only runs unit tests. Jars are not download; compilation is not updated; and Clover is not enabled.

Posted by sa...@apache.org.
SOLR-10023: Add non-recursive 'test-nocompile' target: Only runs unit tests. Jars are not download; compilation is not updated; and Clover is not enabled.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/301deb33
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/301deb33
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/301deb33

Branch: refs/heads/branch_6x
Commit: 301deb336008b4a1c54c8fc6bcfd672ea2c9a4ab
Parents: 90b16c6
Author: Steve Rowe <sa...@apache.org>
Authored: Sat Feb 4 12:50:36 2017 -0500
Committer: Steve Rowe <sa...@apache.org>
Committed: Sat Feb 4 12:50:55 2017 -0500

----------------------------------------------------------------------
 lucene/analysis/build.xml          | 3 +++
 lucene/build.xml                   | 4 ++++
 lucene/common-build.xml            | 8 ++++++++
 solr/build.xml                     | 3 +++
 solr/example/example-DIH/build.xml | 1 +
 solr/server/build.xml              | 1 +
 solr/webapp/build.xml              | 1 +
 7 files changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/301deb33/lucene/analysis/build.xml
----------------------------------------------------------------------
diff --git a/lucene/analysis/build.xml b/lucene/analysis/build.xml
index bc85ad1..5212cd6 100644
--- a/lucene/analysis/build.xml
+++ b/lucene/analysis/build.xml
@@ -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>

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/301deb33/lucene/build.xml
----------------------------------------------------------------------
diff --git a/lucene/build.xml b/lucene/build.xml
index 8b73ca6..f004a19 100644
--- a/lucene/build.xml
+++ b/lucene/build.xml
@@ -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)"

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/301deb33/lucene/common-build.xml
----------------------------------------------------------------------
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 6b60a95..d56ee38 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -1333,6 +1333,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
 
@@ -1390,6 +1395,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 download; 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"

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/301deb33/solr/build.xml
----------------------------------------------------------------------
diff --git a/solr/build.xml b/solr/build.xml
index 4c52b03..b900aed 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -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 -->

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/301deb33/solr/example/example-DIH/build.xml
----------------------------------------------------------------------
diff --git a/solr/example/example-DIH/build.xml b/solr/example/example-DIH/build.xml
index fb82edf..77abc2d 100644
--- a/solr/example/example-DIH/build.xml
+++ b/solr/example/example-DIH/build.xml
@@ -24,6 +24,7 @@
 
   <!-- example tests are currently elsewhere -->
   <target name="test"/>
+  <target name="test-nocompile"/>
 
   <!-- this module has no javadocs -->
   <target name="javadocs"/>

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/301deb33/solr/server/build.xml
----------------------------------------------------------------------
diff --git a/solr/server/build.xml b/solr/server/build.xml
index ae4e650..d3d7af6 100644
--- a/solr/server/build.xml
+++ b/solr/server/build.xml
@@ -22,6 +22,7 @@
 
   <!-- example tests are currently elsewhere -->
   <target name="test"/>
+  <target name="test-nocompile"/>
 
   <!-- this module has no javadocs -->
   <target name="javadocs"/>

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/301deb33/solr/webapp/build.xml
----------------------------------------------------------------------
diff --git a/solr/webapp/build.xml b/solr/webapp/build.xml
index c7c5c85..2ebe084 100644
--- a/solr/webapp/build.xml
+++ b/solr/webapp/build.xml
@@ -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."