Author: enrico
Date: Mon Feb 2 20:46:36 2015
New Revision: 227936
URL: http://llvm.org/viewvc/llvm-project?rev=227936&view=rev
Log:
Make it easier to see what's going on by tracing the test case
Modified:
lldb/trunk/test/lldbpexpect.py
Modified: lldb/trunk/test/lldbpexpect.py
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbpexpect.py?rev=227936&r1=227935&r2=227936&view=diff
==============================================================================
--- lldb/trunk/test/lldbpexpect.py (original)
+++ lldb/trunk/test/lldbpexpect.py Mon Feb 2 20:46:36 2015
@@ -18,7 +18,8 @@ class PExpectTest(TestBase):
def launch(self, timeout=None):
if timeout is None: timeout = 30
- self.child = pexpect.spawn('%s %s' % (self.lldbHere,
self.launchArgs()))
+ logfile = sys.stdout if self.TraceOn() else None
+ self.child = pexpect.spawn('%s %s' % (self.lldbHere,
self.launchArgs()), logfile=logfile)
self.child.timeout = timeout
self.timeout = timeout
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits