[Lldb-commits] [lldb] r370264 - [dotest] Remove --rerun-max-file-threshold

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 28 14:24:41 PDT 2019


Author: jdevlieghere
Date: Wed Aug 28 14:24:41 2019
New Revision: 370264

URL: http://llvm.org/viewvc/llvm-project?rev=370264&view=rev
Log:
[dotest] Remove --rerun-max-file-threshold

This variable corresponding to this argument is set but never read.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/configuration.py
    lldb/trunk/packages/Python/lldbsuite/test/dotest.py
    lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/configuration.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/configuration.py?rev=370264&r1=370263&r2=370264&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/configuration.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/configuration.py Wed Aug 28 14:24:41 2019
@@ -120,7 +120,6 @@ test_result = None
 
 # Test rerun configuration vars
 rerun_all_issues = False
-rerun_max_file_threhold = 0
 
 # The names of all tests. Used to assert we don't have two tests with the
 # same base name.

Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest.py?rev=370264&r1=370263&r2=370264&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Wed Aug 28 14:24:41 2019
@@ -434,7 +434,6 @@ def parseOptionsAndInitTestdirs():
 
     # rerun-related arguments
     configuration.rerun_all_issues = args.rerun_all_issues
-    configuration.rerun_max_file_threshold = args.rerun_max_file_threshold
 
     if args.lldb_platform_name:
         configuration.lldb_platform_name = args.lldb_platform_name

Modified: lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py?rev=370264&r1=370263&r2=370264&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py Wed Aug 28 14:24:41 2019
@@ -260,15 +260,6 @@ 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




More information about the lldb-commits mailing list