Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

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

Dawid Weissf61a5f27d233
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 0e588c69285..1820e0075ee 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. --------------------------------------
#