summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/target
diff options
context:
space:
mode:
authorChaoren Lin <chaorenl@google.com>2015-05-11 17:53:39 +0000
committerChaoren Lin <chaorenl@google.com>2015-05-11 17:53:39 +0000
commit3e2bdb464098ea29e588ace34c6d65b40709cf64 (patch)
tree2f59bbd182199434d8f2155468bfdb23365ee43d /lldb/test/python_api/target
parent59b60af06de92d704f7134d5d5fee54298ec20eb (diff)
downloadbcm5719-llvm-3e2bdb464098ea29e588ace34c6d65b40709cf64.tar.gz
bcm5719-llvm-3e2bdb464098ea29e588ace34c6d65b40709cf64.zip
os.path.join does not always work for paths on remote platforms.
Summary: Since we don't yet have remote windows debugging, it should be safe to assume that the remote target uses unix path separators. Reviewers: ovyalov, zturner, clayborg, vharron Reviewed By: vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9633 llvm-svn: 237006
Diffstat (limited to 'lldb/test/python_api/target')
-rw-r--r--lldb/test/python_api/target/TestTargetAPI.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/python_api/target/TestTargetAPI.py b/lldb/test/python_api/target/TestTargetAPI.py
index 2494c0f0c23..0dcafcef622 100644
--- a/lldb/test/python_api/target/TestTargetAPI.py
+++ b/lldb/test/python_api/target/TestTargetAPI.py
@@ -375,7 +375,7 @@ class TargetAPITestCase(TestBase):
# The inferior should run to completion after "process.Continue()" call.
local_path = "stdout.txt";
if lldb.remote_platform:
- stdout_path = os.path.join(lldb.remote_platform.GetWorkingDirectory(), "lldb-stdout-redirect.txt")
+ stdout_path = lldbutil.append_to_remote_wd("lldb-stdout-redirect.txt")
else:
stdout_path = local_path
error = lldb.SBError()
OpenPOWER on IntegriCloud