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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits