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/lang/cpp | |
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/lang/cpp')
18 files changed, 18 insertions, 18 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py index 432df325910..6c06f3750d1 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py @@ -4,7 +4,7 @@ Test lldb breakpoint command for CPP methods & functions in a namespace. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py index b1065784142..9bb1faf4ba6 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/TestChar1632T.py @@ -5,7 +5,7 @@ Test that the C++11 support for char16_t and char32_t works correctly. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py index c360ad6182d..d47d1b7dde4 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_static/TestStaticVariables.py @@ -4,7 +4,7 @@ Test display and Python APIs on file and class static variables. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py index a3eb10f60f9..b67e53c3074 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypes.py @@ -2,7 +2,7 @@ from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py index 149bb99306e..595d075d518 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/class_types/TestClassTypesDisassembly.py @@ -4,7 +4,7 @@ Test the lldb disassemble command on each call frame when stopped on C's ctor. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py index 05b0894625d..4e23cd89928 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestCppValueCast.py @@ -4,7 +4,7 @@ Test lldb Python API SBValue::Cast(SBType) for C++ types. from __future__ import print_function -import use_lldb_suite + import unittest2 import os, time diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py index a7782d27ccb..56e81c56cfa 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/dynamic-value/TestDynamicValue.py @@ -4,7 +4,7 @@ Use lldb Python API to test dynamic values in C++ from __future__ import print_function -import use_lldb_suite + import os, time import re diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py index 7d0ec535475..51c145c7b7c 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/TestCPP11EnumTypes.py @@ -2,7 +2,7 @@ from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py index c91fe74cbfa..65cf0b361d8 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py @@ -4,7 +4,7 @@ Test lldb exception breakpoint command for CPP. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py index 6b88e783142..ab6b83bed9b 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py @@ -4,7 +4,7 @@ Test the printing of anonymous and named namespace variables. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/TestRdar12991846.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/TestRdar12991846.py index cf118e6c1c3..636a82b425d 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/TestRdar12991846.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/rdar12991846/TestRdar12991846.py @@ -5,7 +5,7 @@ Test that the expression parser returns proper Unicode strings. from __future__ import print_function -import use_lldb_suite + import unittest2 import os, time diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py index 5a6025c5910..51e6d4579e2 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/signed_types/TestSignedTypes.py @@ -4,7 +4,7 @@ Test that variables with signed types display correctly. from __future__ import print_function -import use_lldb_suite + import os, time import re diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py index 908bc735e32..1c41b1b6f57 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/static_members/TestCPPStaticMembers.py @@ -4,7 +4,7 @@ Tests that C++ member and static variables have correct layout and scope. from __future__ import print_function -import use_lldb_suite + import unittest2 import lldb diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py index 0f43accfc02..6dba1398947 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestSTL.py @@ -4,7 +4,7 @@ Test some expressions involving STL data types. from __future__ import print_function -import use_lldb_suite + import unittest2 import os, time diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py index 32170991bc8..75e1510e1f7 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/TestStdCXXDisassembly.py @@ -4,7 +4,7 @@ Test the lldb disassemble command on lib stdc++. from __future__ import print_function -import use_lldb_suite + import unittest2 import os, time diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py index a2c2f875739..2cbb1a191e6 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/unique-types/TestUniqueTypes.py @@ -4,7 +4,7 @@ Test that template instaniations of std::vector<long> and <short> in the same mo from __future__ import print_function -import use_lldb_suite + import lldb import lldbsuite.test.lldbutil as lldbutil diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py index 0d2b01c02fa..c137592558e 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/unsigned_types/TestUnsignedTypes.py @@ -4,7 +4,7 @@ Test that variables with unsigned types display correctly. from __future__ import print_function -import use_lldb_suite + import os, time import re diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py index 3b60c493348..f9cdbca16e5 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py +++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/TestCxxWCharT.py @@ -5,7 +5,7 @@ Test that C++ supports wchar_t correctly. from __future__ import print_function -import use_lldb_suite + import os, time import lldb |