summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-11-03 19:20:39 +0000
committerZachary Turner <zturner@google.com>2015-11-03 19:20:39 +0000
commit19474e1801ca3eafe9a07d0cf49ee20a9104b434 (patch)
tree59933a9f911fbb0b962f475dff8b26bcb2d637fb /lldb/packages/Python/lldbsuite/test/functionalities/abbreviation
parent22892687f7954142c33242e83d505c20d7fba575 (diff)
downloadbcm5719-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/functionalities/abbreviation')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py
index c98146b0ed6..1bce5bed491 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestAbbreviations.py
@@ -4,7 +4,7 @@ Test some lldb command abbreviations and aliases for proper resolution.
from __future__ import print_function
-import use_lldb_suite
+
import os, time
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py
index c607abef0b1..683ef044f73 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py
@@ -5,7 +5,7 @@ many commands remain available even after we add/delete commands in the future.
from __future__ import print_function
-import use_lldb_suite
+
import os, time
import lldb
OpenPOWER on IntegriCloud