diff options
| author | Greg Clayton <gclayton@apple.com> | 2013-12-13 19:18:59 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2013-12-13 19:18:59 +0000 |
| commit | c694751a06f2b61586b24798f84f7d88452dd3b5 (patch) | |
| tree | fe24cc09ee16ef13e2c5c607df20401b9091a01a /lldb/test/python_api/lldbutil/process | |
| parent | 8e9026eee2263274d6d67de0065e759dab9583dc (diff) | |
| download | bcm5719-llvm-c694751a06f2b61586b24798f84f7d88452dd3b5.tar.gz bcm5719-llvm-c694751a06f2b61586b24798f84f7d88452dd3b5.zip | |
Correctly set the working directory when launching processes for both local and remote targets.
llvm-svn: 197266
Diffstat (limited to 'lldb/test/python_api/lldbutil/process')
| -rw-r--r-- | lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py index d845c7903bc..c04e9c08845 100644 --- a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py +++ b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py @@ -36,7 +36,7 @@ class ThreadsStackTracesTestCase(TestBase): self.assertTrue(breakpoint, VALID_BREAKPOINT) # Now launch the process, and do not stop at entry point. - process = target.LaunchSimple(["abc", "xyz"], None, os.getcwd()) + process = target.LaunchSimple (["abc", "xyz"], None, self.get_process_working_directory()) if not process: self.fail("SBTarget.LaunchProcess() failed") |

