[Lldb-commits] [lldb] r116596 - /lldb/trunk/test/lldbtest.py
Johnny Chen
johnny.chen at apple.com
Fri Oct 15 11:07:09 PDT 2010
Author: johnny
Date: Fri Oct 15 13:07:09 2010
New Revision: 116596
URL: http://llvm.org/viewvc/llvm-project?rev=116596&view=rev
Log:
Add a const string for assert message. Remove extra printing of newlines from
the session recordings.
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=116596&r1=116595&r2=116596&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Fri Oct 15 13:07:09 2010
@@ -147,6 +147,8 @@
BREAKPOINT_HIT_TWICE = "Breakpoint resolved with hit cout = 2"
+BREAKPOINT_HIT_THRICE = "Breakpoint resolved with hit cout = 3"
+
STEP_OUT_SUCCEEDED = "Thread step-out succeeded"
STOPPED_DUE_TO_BREAKPOINT = "Process state is stopped due to breakpoint"
@@ -568,7 +570,6 @@
with recording(self, trace) as sbuf:
print >> sbuf, "%s start string: %s" % (heading, startstr)
print >> sbuf, "Matched" if matched else "Not matched"
- print >> sbuf
# Look for sub strings, if specified.
keepgoing = matched if matching else not matched
@@ -581,8 +582,6 @@
keepgoing = matched if matching else not matched
if not keepgoing:
break
- with recording(self, trace) as sbuf:
- print >> sbuf
# Search for regular expression patterns, if specified.
keepgoing = matched if matching else not matched
@@ -596,8 +595,6 @@
keepgoing = matched if matching else not matched
if not keepgoing:
break
- with recording(self, trace) as sbuf:
- print >> sbuf
self.assertTrue(matched if matching else not matched,
msg if msg else CMD_MSG(str, exe))
More information about the lldb-commits
mailing list