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/functionalities/inferior-assert/TestInferiorAssert.py | |
| 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/functionalities/inferior-assert/TestInferiorAssert.py')
| -rw-r--r-- | lldb/test/functionalities/inferior-assert/TestInferiorAssert.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py index 9c6dd6f21ab..c4baf5d9f2f 100644 --- a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py +++ b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py @@ -119,7 +119,7 @@ class AssertingInferiorTestCase(TestBase): # Now launch the process, and do not stop at entry point. # Both argv and envp are null. - process = target.LaunchSimple(None, None, os.getcwd()) + process = target.LaunchSimple (None, None, self.get_process_working_directory()) if process.GetState() != lldb.eStateStopped: self.fail("Process should be in the 'stopped' state, " @@ -154,7 +154,7 @@ class AssertingInferiorTestCase(TestBase): self.assertTrue(target, VALID_TARGET) # Launch the process, and do not stop at the entry point. - target.LaunchSimple(None, None, os.getcwd()) + target.LaunchSimple (None, None, self.get_process_working_directory()) self.check_stop_reason() process = target.GetProcess() @@ -200,7 +200,7 @@ class AssertingInferiorTestCase(TestBase): self.assertTrue(target, VALID_TARGET) # Launch the process, and do not stop at the entry point. - target.LaunchSimple(None, None, os.getcwd()) + target.LaunchSimple (None, None, self.get_process_working_directory()) self.check_stop_reason() process = target.GetProcess() @@ -222,7 +222,7 @@ class AssertingInferiorTestCase(TestBase): # Launch the process, and do not stop at the entry point. self.set_breakpoint(self.line) - target.LaunchSimple(None, None, os.getcwd()) + target.LaunchSimple (None, None, self.get_process_working_directory()) self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, substrs = ['main.c:%d' % self.line, |

