diff options
author | Zachary Turner <zturner@google.com> | 2015-12-08 18:25:38 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-12-08 18:25:38 +0000 |
commit | b0dcbd461edfe08342637138719bab85332e6e1d (patch) | |
tree | 72b95f0aeb0756ae6a8e70ca1e51c7861ebd440e /lldb/packages/Python/lldbsuite | |
parent | 412ee3d45dc54b44e603ed5851f2f0f976c1e19f (diff) | |
download | bcm5719-llvm-b0dcbd461edfe08342637138719bab85332e6e1d.tar.gz bcm5719-llvm-b0dcbd461edfe08342637138719bab85332e6e1d.zip |
Remove the -D option from dotest.py.
This removes the option to dump Python sys.path variable as part
of an effort to remove unused options.
llvm-svn: 255035
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/configuration.py | 3 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest.py | 5 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/dotest_args.py | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py index 2bcd421ca79..ef91fbb52e3 100644 --- a/lldb/packages/Python/lldbsuite/test/configuration.py +++ b/lldb/packages/Python/lldbsuite/test/configuration.py @@ -110,9 +110,6 @@ compilers = None # Must be initialized after option parsing # just that. cflags_extras = '' -# Dump the Python sys.path variable. Use '-D' to dump sys.path. -dumpSysPath = False - # Full path of the benchmark executable, as specified by the '-e' option. bmExecutable = None # The breakpoint specification of bmExecutable, as specified by the '-x' option. diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index e0535c3260f..44256ae6fcc 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -278,9 +278,6 @@ def parseOptionsAndInitTestdirs(): if args.skipCategories: configuration.skipCategories = test_categories.validate(args.skipCategories, False) - if args.D: - configuration.dumpSysPath = True - if args.E: cflags_extras = args.E os.environ['CFLAGS_EXTRAS'] = cflags_extras @@ -875,8 +872,6 @@ def setupSysPath(): # This is to locate the lldb.py module. Insert it right after sys.path[0]. sys.path[1:1] = [lldbPythonDir] - if configuration.dumpSysPath: - print("sys.path:", sys.path) def visit(prefix, dir, names): """Visitor function for os.path.walk(path, visit, arg).""" diff --git a/lldb/packages/Python/lldbsuite/test/dotest_args.py b/lldb/packages/Python/lldbsuite/test/dotest_args.py index e34eea3e63c..891a335d350 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest_args.py +++ b/lldb/packages/Python/lldbsuite/test/dotest_args.py @@ -56,7 +56,6 @@ def create_parser(): # FIXME? This won't work for different extra flags according to each arch. group.add_argument('-E', metavar='extra-flags', help=textwrap.dedent('''Specify the extra flags to be passed to the toolchain when building the inferior programs to be debugged suggestions: do not lump the "-A arch1 -A arch2" together such that the -E option applies to only one of the architectures''')) - X('-D', 'Dump the Python sys.path variable') # Test filtering options group = parser.add_argument_group('Test filtering options') |