summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/hello_world
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-12-13 19:18:59 +0000
committerGreg Clayton <gclayton@apple.com>2013-12-13 19:18:59 +0000
commitc694751a06f2b61586b24798f84f7d88452dd3b5 (patch)
treefe24cc09ee16ef13e2c5c607df20401b9091a01a /lldb/test/python_api/hello_world
parent8e9026eee2263274d6d67de0065e759dab9583dc (diff)
downloadbcm5719-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/hello_world')
-rw-r--r--lldb/test/python_api/hello_world/TestHelloWorld.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/hello_world/TestHelloWorld.py b/lldb/test/python_api/hello_world/TestHelloWorld.py
index 088477b79d8..58250a5ad85 100644
--- a/lldb/test/python_api/hello_world/TestHelloWorld.py
+++ b/lldb/test/python_api/hello_world/TestHelloWorld.py
@@ -117,7 +117,7 @@ class HelloWorldTestCase(TestBase):
# rdar://problem/8364687
# SBTarget.Launch() issue (or is there some race condition)?
- process = target.LaunchSimple(None, None, os.getcwd())
+ process = target.LaunchSimple (None, None, self.get_process_working_directory())
# The following isn't needed anymore, rdar://8364687 is fixed.
#
# Apply some dances after LaunchProcess() in order to break at "main".
OpenPOWER on IntegriCloud