[Lldb-commits] [PATCH] [TestCompletion] Spawn LLDB with '--no-use-colors'.
sivachandra at google.com
Mon Dec 15 18:07:03 PST 2014
Hi zturner, clayborg,
TestCompletion was broken for Ubuntu (and probably for Debian also).
The issue was that the lldb prompt in color (which is the default
behavior) was confusing pexpect.
@@ -166,7 +166,8 @@
prompt = "(lldb) "
# So that the child gets torn down after the test.
- self.child = pexpect.spawn('%s %s' % (self.lldbHere, self.lldbOption))
+ self.child = pexpect.spawn(self.lldbHere,
+ [self.lldbOption] + ['--no-use-colors'])
child = self.child
# Turn on logging for input/output to/from the child.
with open('child_send.txt', 'w') as f_send:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 695 bytes
Desc: not available
More information about the lldb-commits