summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-03-15 13:32:17 +0000
committerPavel Labath <labath@google.com>2017-03-15 13:32:17 +0000
commit2aaab295746147ceb8a78a037c4e5e2ff8f1930e (patch)
treee309bbcce878be078e4c705ab50c5639d879cd22 /lldb/packages/Python/lldbsuite/test
parent493f4462bfc340a9140b2960a0142ef72b3fcbb3 (diff)
downloadbcm5719-llvm-2aaab295746147ceb8a78a037c4e5e2ff8f1930e.tar.gz
bcm5719-llvm-2aaab295746147ceb8a78a037c4e5e2ff8f1930e.zip
Fix TestMoveNearest for remote targets
Launching a process with shared libraries on remote targets requires a special dance, which I forgot to do in r297830. llvm-svn: 297834
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
index 9d59a6fa298..26041c313e5 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
@@ -28,7 +28,8 @@ class TestMoveNearest(TestBase):
self.assertTrue(target, VALID_TARGET)
lldbutil.run_break_set_by_symbol(self, 'main', sym_exact=True)
- process = target.LaunchSimple(None, None, self.get_process_working_directory())
+ environment = self.registerSharedLibrariesWithTarget(target, ["foo"])
+ process = target.LaunchSimple(None, environment, self.get_process_working_directory())
self.assertEquals(process.GetState(), lldb.eStateStopped)
# Regardless of the -m value the breakpoint should have exactly one
OpenPOWER on IntegriCloud