Skip to content

Commit d9c054d

Browse files
committedMar 3, 2015
Fix TestQuoting on remote targets.
Summary: Needed to transfer stdout.txt to host before reading. Reviewers: ovyalov, clayborg Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D8023 llvm-svn: 231101
1 parent 5f7008a commit d9c054d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎lldb/test/settings/quoting/TestQuoting.py

+5
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ def do_test_args(self, args_in, args_out):
6868

6969
self.runCmd("process launch -o stdout.txt -- " + args_in)
7070

71+
if lldb.remote_platform:
72+
src_file_spec = lldb.SBFileSpec('stdout.txt', False)
73+
dst_file_spec = lldb.SBFileSpec('stdout.txt', True)
74+
lldb.remote_platform.Get(src_file_spec, dst_file_spec);
75+
7176
with open('stdout.txt', 'r') as f:
7277
output = f.read()
7378

0 commit comments

Comments
 (0)