summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest_args.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest_args.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest_args.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index b0fda3506a5..105156df7e8 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -160,6 +160,7 @@ def create_parser():
'be specified as VAL:TYPE, where TYPE may be int to convert '
'the value to an int'))
+ # Re-run related arguments
group = parser.add_argument_group('Test Re-run Options')
group.add_argument(
'--rerun-all-issues',
@@ -168,6 +169,16 @@ def create_parser():
'irrespective of the test method\'s marking as flakey. '
'Default behavior is to apply re-runs only to flakey '
'tests that generate issues.'))
+ group.add_argument(
+ '--rerun-max-file-threshold',
+ action='store',
+ type=int,
+ default=50,
+ help=('Maximum number of files requiring a rerun beyond '
+ 'which the rerun will not occur. This is meant to '
+ 'stop a catastrophically failing test suite from forcing '
+ 'all tests to be rerun in the single-worker phase.'))
+
# Remove the reference to our helper function
del X
OpenPOWER on IntegriCloud