[Lldb-commits] [lldb] d3a49b0 - [lldb] Remove --rerun-all-issues as its functionality no longer exists
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Aug 21 14:28:15 PDT 2020
Author: Jonas Devlieghere
Date: 2020-08-21T14:28:08-07:00
New Revision: d3a49b03a57bb7448620c31f493932018e752c0d
URL: https://github.com/llvm/llvm-project/commit/d3a49b03a57bb7448620c31f493932018e752c0d
DIFF: https://github.com/llvm/llvm-project/commit/d3a49b03a57bb7448620c31f493932018e752c0d.diff
LOG: [lldb] Remove --rerun-all-issues as its functionality no longer exists
The logic behind --rerun-all-issues was removed when we switched to LIT
as the test driver. This patch just removes the dotest option and
corresponding entry in configuration.py.
Added:
Modified:
lldb/packages/Python/lldbsuite/test/configuration.py
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/dotest_args.py
Removed:
################################################################################
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index 6f4b89cb1793..7939a27badf0 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -135,9 +135,6 @@
capture_path = None
replay_path = None
-# Test rerun configuration vars
-rerun_all_issues = False
-
# The names of all tests. Used to assert we don't have two tests with the
# same base name.
all_tests = set()
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 9b1c7fd39da4..870b85ef4c4b 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -416,10 +416,6 @@ def parseOptionsAndInitTestdirs():
if args.replay_path:
configuration.replay_path = args.replay_path
-
- # rerun-related arguments
- configuration.rerun_all_issues = args.rerun_all_issues
-
if args.lldb_platform_name:
configuration.lldb_platform_name = args.lldb_platform_name
if args.lldb_platform_url:
diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py
index 05dd523e744a..48d754e875f6 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest_args.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py
@@ -244,16 +244,6 @@ def create_parser():
help='(Windows only) When LLDB crashes, display the Windows crash dialog.')
group.set_defaults(disable_crash_dialog=True)
- # Re-run related arguments
- group = parser.add_argument_group('Test Re-run Options')
- group.add_argument(
- '--rerun-all-issues',
- action='store_true',
- help=('Re-run all issues that occurred during the test run '
- 'irrespective of the test method\'s marking as flakey. '
- 'Default behavior is to apply re-runs only to flakey '
- 'tests that generate issues.'))
-
# Remove the reference to our helper function
del X
More information about the lldb-commits
mailing list