[Lldb-commits] [lldb] r297834 - Fix TestMoveNearest for remote targets
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 15 06:32:18 PDT 2017
Author: labath
Date: Wed Mar 15 08:32:17 2017
New Revision: 297834
URL: http://llvm.org/viewvc/llvm-project?rev=297834&view=rev
Log:
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.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py?rev=297834&r1=297833&r2=297834&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/TestMoveNearest.py Wed Mar 15 08:32:17 2017
@@ -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
More information about the lldb-commits
mailing list