[Lldb-commits] [lldb] r255151 - Remove the -i command line option from dotest.py.
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 9 12:48:32 PST 2015
Author: zturner
Date: Wed Dec 9 14:48:31 2015
New Revision: 255151
URL: http://llvm.org/viewvc/llvm-project?rev=255151&view=rev
Log:
Remove the -i command line option from dotest.py.
This is part of a larger effort to remove unused command line
options from dotest.py.
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=255151&r1=255150&r2=255151&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/configuration.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/configuration.py Wed Dec 9 14:48:31 2015
@@ -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
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=255151&r1=255150&r2=255151&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest.py Wed Dec 9 14:48:31 2015
@@ -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')
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=255151&r1=255150&r2=255151&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/dotest_args.py Wed Dec 9 14:48:31 2015
@@ -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.")
More information about the lldb-commits
mailing list