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/expression_command | |
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/expression_command')
23 files changed, 23 insertions, 23 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py index 2ff0840c637..3756b4a8cea 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py @@ -4,7 +4,7 @@ Test calling std::String member functions. 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/expression_command/call-function/TestCallStopAndContinue.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py index 5832bf41785..f6d63885248 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStopAndContinue.py @@ -4,7 +4,7 @@ Test calling a function, stopping in the call, continue and gather the result on 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/expression_command/call-function/TestCallUserDefinedFunction.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py index 700c22ca4b9..9138af0b0b4 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py @@ -9,7 +9,7 @@ Note: 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/expression_command/call-restarts/TestCallThatRestarts.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py index 4cae0d335eb..abf48742567 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-restarts/TestCallThatRestarts.py @@ -4,7 +4,7 @@ Test calling a function that hits a signal set to auto-restart, make sure the ca 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/expression_command/call-throws/TestCallThatThrows.py b/lldb/packages/Python/lldbsuite/test/expression_command/call-throws/TestCallThatThrows.py index 1749365778f..0e766ac2953 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/call-throws/TestCallThatThrows.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/call-throws/TestCallThatThrows.py @@ -4,7 +4,7 @@ Test calling a function that throws an ObjC exception, make sure that it doesn't 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/expression_command/char/TestExprsChar.py b/lldb/packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py index 45b64c4ed2b..90e847fd5fa 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/char/TestExprsChar.py @@ -1,6 +1,6 @@ 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/expression_command/expr-in-syscall/TestExpressionInSyscall.py b/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py index 5546841f4e8..0430fa55f99 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/expr-in-syscall/TestExpressionInSyscall.py @@ -2,7 +2,7 @@ from __future__ import print_function -import use_lldb_suite + import os import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py index e4948fd6623..3f47206480c 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/formatters/TestFormatters.py @@ -4,7 +4,7 @@ Test using LLDB data formatters with frozen objects coming from the expression p 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/expression_command/issue_11588/Test11588.py b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py index 7140fc349f2..fdc981ea178 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/issue_11588/Test11588.py @@ -6,7 +6,7 @@ expected in a SyntheticChildrenProvider from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py b/lldb/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py index d725256b206..4b813ced70d 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/options/TestExprOptions.py @@ -9,7 +9,7 @@ o test_expr_options: from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py b/lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py index b7ed53ed67d..7b0707cdf22 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/persist_objc_pointeetype/TestPersistObjCPointeeType.py @@ -4,7 +4,7 @@ Test that we can p *objcObject 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/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py index 36ff8d22346..9d7359fb2d4 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_ptr_update/TestPersistentPtrUpdate.py @@ -4,7 +4,7 @@ Test that we can have persistent pointer variables 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/expression_command/persistent_types/TestNestedPersistentTypes.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py index cf2bf13d24d..3ea5b704065 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestNestedPersistentTypes.py @@ -4,7 +4,7 @@ Test that nested persistent types work. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py index 213a91f3bb7..47c6675511f 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_types/TestPersistentTypes.py @@ -4,7 +4,7 @@ Test that lldb persistent types works correctly. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py index e945597c808..e148fcd8959 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/persistent_variables/TestPersistentVariables.py @@ -4,7 +4,7 @@ Test that lldb persistent variables works correctly. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py b/lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py index 7661f720b4b..e415b92a43a 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/po_verbosity/TestPoVerbosity.py @@ -4,7 +4,7 @@ Test that the po command acts correctly. 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/expression_command/radar_8638051/Test8638051.py b/lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py index b571639f2a6..302b14b7360 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/radar_8638051/Test8638051.py @@ -4,7 +4,7 @@ Test the robustness of lldb expression parser. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py index 964bc6a26eb..fb16d2a9332 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9531204/TestPrintfAfterUp.py @@ -4,7 +4,7 @@ The evaluating printf(...) after break stop and then up a stack frame. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py index fb2d32e3b14..ce3e51d0514 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/radar_9673664/TestExprHelpExamples.py @@ -4,7 +4,7 @@ Test example snippets from the lldb 'help expression' output. from __future__ import print_function -import use_lldb_suite + import os, time import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py index 765359e77ad..39883180795 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs.py @@ -13,7 +13,7 @@ o test_expr_commands_can_handle_quotes: from __future__ import print_function -import use_lldb_suite + import unittest2 diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py index eff37ea7c35..578a037e9f0 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/test/TestExprs2.py @@ -4,7 +4,7 @@ Test some more expression commands. from __future__ import print_function -import use_lldb_suite + import os import lldb diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py b/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py index a3118a594bd..2f16cb49a95 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/timeout/TestCallWithTimeout.py @@ -4,7 +4,7 @@ Test calling a function that waits a while, and make sure the timeout option to 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/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py b/lldb/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py index fff1e4085cc..5b023350911 100644 --- a/lldb/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py +++ b/lldb/packages/Python/lldbsuite/test/expression_command/two-files/TestObjCTypeQueryFromOtherCompileUnit.py @@ -6,7 +6,7 @@ The expression parser's type search only looks in the current compilation unit f from __future__ import print_function -import use_lldb_suite + import lldb from lldbsuite.test.lldbtest import * |