[Lldb-commits] [PATCH] Fix TestQuoting on remote targets.
Chaoren Lin
chaorenl at google.com
Tue Mar 3 11:13:05 PST 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8023
Files:
lldb/trunk/test/settings/quoting/TestQuoting.py
Index: lldb/trunk/test/settings/quoting/TestQuoting.py
===================================================================
--- lldb/trunk/test/settings/quoting/TestQuoting.py
+++ lldb/trunk/test/settings/quoting/TestQuoting.py
@@ -68,6 +68,11 @@
self.runCmd("process launch -o stdout.txt -- " + args_in)
+ if lldb.remote_platform:
+ src_file_spec = lldb.SBFileSpec('stdout.txt', False)
+ dst_file_spec = lldb.SBFileSpec('stdout.txt', True)
+ lldb.remote_platform.Get(src_file_spec, dst_file_spec);
+
with open('stdout.txt', 'r') as f:
output = f.read()
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8023.21124.patch
Type: text/x-patch
Size: 630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150303/60564acc/attachment.bin>
More information about the lldb-commits
mailing list