[Lldb-commits] [lldb] r115804 - /lldb/trunk/test/array_types/TestArrayTypes.py
Johnny Chen
johnny.chen at apple.com
Wed Oct 6 11:16:19 PDT 2010
Author: johnny
Date: Wed Oct 6 13:16:19 2010
New Revision: 115804
URL: http://llvm.org/viewvc/llvm-project?rev=115804&view=rev
Log:
Modification of the expected substrings for the print representations of SBProcess and SBThread.
Modified:
lldb/trunk/test/array_types/TestArrayTypes.py
Modified: lldb/trunk/test/array_types/TestArrayTypes.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/array_types/TestArrayTypes.py?rev=115804&r1=115803&r2=115804&view=diff
==============================================================================
--- lldb/trunk/test/array_types/TestArrayTypes.py (original)
+++ lldb/trunk/test/array_types/TestArrayTypes.py Wed Oct 6 13:16:19 2010
@@ -103,8 +103,8 @@
# Sanity check the print representation of process.
proc = repr(self.process)
self.expect(proc, msg="Process looks good", exe=False,
- patterns = ["executable.+array_types.a\.out",
- "instance name:.+state: Stopped"])
+ substrs = ["state: Stopped",
+ "executable: a.out"])
# The stop reason of the thread should be breakpoint.
thread = self.process.GetThreadAtIndex(0)
@@ -116,8 +116,7 @@
self.expect(thr, "Thread looks good with stop reason = breakpoint", exe=False,
substrs = ["thread #%d: tid = 0x%4.4x" % (thread.GetIndexID(), thread.GetThreadID()),
"stop reason = breakpoint",
- "queue = %s" % thread.GetQueueName() if thread.GetQueueName() else "",
- "%d frames" % thread.GetNumFrames()])
+ "queue = %s" % thread.GetQueueName() if thread.GetQueueName() else ""])
# The breakpoint should have a hit count of 1.
self.assertTrue(breakpoint.GetHitCount() == 1, BREAKPOINT_HIT_ONCE)
More information about the lldb-commits
mailing list