You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2016/07/07 08:16:45 UTC

[2/2] lucene-solr:branch_6x: Added tests.awaitsfix to properties passed to forked JVMs in tests. Added a little info about tests.filter to test-help.

Added tests.awaitsfix to properties passed to forked JVMs in tests. Added a little info about tests.filter to test-help.


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

Branch: refs/heads/branch_6x
Commit: 4bcda43fd87f9a566cc60e5becafea3a73367622
Parents: 4921dcd
Author: Dawid Weiss <dw...@apache.org>
Authored: Thu Jul 7 10:14:58 2016 +0200
Committer: Dawid Weiss <dw...@apache.org>
Committed: Thu Jul 7 10:16:11 2016 +0200

----------------------------------------------------------------------
 lucene/common-build.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/4bcda43f/lucene/common-build.xml
----------------------------------------------------------------------
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 0e588c6..1820e00 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -1068,6 +1068,7 @@
                 <propertyref prefix="tests.timeoutSuite" />
                 <propertyref prefix="tests.disableHdfs" />
                 <propertyref prefix="tests.filter" />
+                <propertyref prefix="tests.awaitsfix" />
                 <propertyref prefix="tests.leavetmpdir" />
                 <propertyref prefix="tests.leaveTemporary" />
                 <propertyref prefix="tests.leavetemporary" />
@@ -1293,6 +1294,21 @@ ant -Dtests.weekly=[false]    - weekly tests (@Weekly)
 ant -Dtests.awaitsfix=[false] - known issue (@AwaitsFix)
 ant -Dtests.slow=[true]       - slow tests (@Slow)
 
+# An alternative way to select just one (or more) groups of tests
+# is to use the -Dtests.filter property:
+
+-Dtests.filter="@slow"
+
+# would run only slow tests. 'tests.filter' supports Boolean operators
+# 'and, or, not' and grouping, for example:
+
+ant -Dtests.filter="@nightly and not(@awaitsfix or @slow)"
+
+# would run nightly tests but not those also marked as awaiting a fix
+# or slow. Note that tests.filter, if present, has a priority over any
+# individual tests.* properties.
+
+
 #
 # Load balancing and caches. --------------------------------------
 #