Remove the -i command line option from dotest.py.
authorZachary Turner <zturner@google.com>
Wed, 9 Dec 2015 20:48:31 +0000 (20:48 +0000)
committerZachary Turner <zturner@google.com>
Wed, 9 Dec 2015 20:48:31 +0000 (20:48 +0000)
This is part of a larger effort to remove unused command line
options from dotest.py.

llvm-svn: 255151

lldb/packages/Python/lldbsuite/test/configuration.py
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/dotest_args.py

index a698efa..00fd34a 100644 (file)
@@ -94,9 +94,6 @@ bmIterationCount = -1
 # The filters (testclass.testmethod) used to admit tests into our test suite.
 filters = []
 
-# Ignore the build search path relative to this script to locate the lldb.py module.
-ignore = False
-
 # By default, we do not skip build and cleanup.  Use '-S' option to override.
 skip_build_and_cleanup = False
 
index 342f413..e2e96cc 100644 (file)
@@ -321,9 +321,6 @@ def parseOptionsAndInitTestdirs():
         # output-on-success.
         configuration.no_multiprocess_test_runner = True
 
-    if args.i:
-        configuration.ignore = True
-
     if args.l:
         configuration.skip_long_running_test = False
 
@@ -737,10 +734,6 @@ def setupSysPath():
             print('Resources/Python/lldb/__init__.py was not found in ' + configuration.lldbFrameworkPath)
             sys.exit(-1)
     else:
-        # The '-i' option is used to skip looking for lldb.py in the build tree.
-        if configuration.ignore:
-            return
-        
         # If our lldb supports the -P option, use it to find the python path:
         init_in_python_dir = os.path.join('lldb', '__init__.py')
 
index 5f58ab5..8d120bc 100644 (file)
@@ -88,7 +88,6 @@ def create_parser():
     # Test-suite behaviour
     group = parser.add_argument_group('Runtime behaviour options')
     X('-d', 'Suspend the process after launch to wait indefinitely for a debugger to attach')
-    X('-i', "Ignore (don't bailout) if 'lldb.py' module cannot be located in the build tree relative to this script; use PYTHONPATH to locate the module")
     X('-n', "Don't print the headers like build dir, lldb version, and svn info at all")
     X('-P', "Use the graphic progress bar.")
     X('-q', "Don't print extra output from this script.")