diff options
author | Zachary Turner <zturner@google.com> | 2015-11-03 19:20:39 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-11-03 19:20:39 +0000 |
commit | 19474e1801ca3eafe9a07d0cf49ee20a9104b434 (patch) | |
tree | 59933a9f911fbb0b962f475dff8b26bcb2d637fb /lldb/packages/Python/lldbsuite/test/python_api/lldbutil | |
parent | 22892687f7954142c33242e83d505c20d7fba575 (diff) | |
download | bcm5719-llvm-19474e1801ca3eafe9a07d0cf49ee20a9104b434.tar.gz bcm5719-llvm-19474e1801ca3eafe9a07d0cf49ee20a9104b434.zip |
Remove `use_lldb_suite` from the package, and don't import it anymore.
This module was originally intended to be imported by top-level
scripts to be able to find the LLDB packages and third party
libraries. Packages themselves shouldn't need to import it,
because by the time it gets into the package, the top-level
script should have already done this. Indeed, it was just
adding the same values to sys.path multiple times, so this
patch is essentially no functional change.
To make sure it doesn't get re-introduced, we also delete the
`use_lldb_suite` module from `lldbsuite/test`, although the
original copy still remains in `lldb/test`
llvm-svn: 251963
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/lldbutil')
4 files changed, 4 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py index 5128ac9850f..2cde05af0c3 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py @@ -4,7 +4,7 @@ Test utility functions for the frame object. from __future__ import print_function -import use_lldb_suite + import os import lldb diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py index 0c16bf69534..07177c1fae4 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py @@ -4,7 +4,7 @@ Test the iteration protocol for some lldb container objects. from __future__ import print_function -import use_lldb_suite + import os, time import re diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py index cd8263e6cca..1645ae1f2a5 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py @@ -4,7 +4,7 @@ Test the iteration protocol for frame registers. from __future__ import print_function -import use_lldb_suite + import os, time import re diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py index 6ba2b68e224..b48ded4dd36 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py @@ -4,7 +4,7 @@ Test SBprocess and SBThread APIs with printing of the stack traces using lldbuti from __future__ import print_function -import use_lldb_suite + import os, time import re |