[Lldb-commits] [PATCH] D25217: Fix test when using remote debugging.

Andrew Ford via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 3 17:25:34 PDT 2016


andrewford created this revision.
andrewford added a reviewer: labath.
andrewford added a subscriber: lldb-commits.

Use os.getcwd() instead of get_process_working_directory() as prefix for
souce file.


https://reviews.llvm.org/D25217

Files:
  packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py


Index: packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
===================================================================
--- packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
+++ packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_case_sensitivity/TestBreakpointCaseSensitivity.py
@@ -46,7 +46,7 @@
         # Create a target by the debugger.
         self.target = self.dbg.CreateTarget(exe)
         self.assertTrue(self.target, VALID_TARGET)
-        cwd = self.get_process_working_directory()
+        cwd = os.getcwd()
 
         # try both BreakpointCreateByLocation and BreakpointCreateBySourceRegex
         for regex in [False, True]:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25217.73381.patch
Type: text/x-patch
Size: 803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20161004/79ca951d/attachment.bin>


More information about the lldb-commits mailing list