[Lldb-commits] [lldb] r111294 - in /lldb/trunk/test: dead-strip/TestDeadStrip.py lldbtest.py

Johnny Chen johnny.chen at apple.com
Tue Aug 17 14:33:31 PDT 2010


Author: johnny
Date: Tue Aug 17 16:33:31 2010
New Revision: 111294

URL: http://llvm.org/viewvc/llvm-project?rev=111294&view=rev
Log:
Specify a more meaningful assert message for TestDeadStrip.py.

Modified:
    lldb/trunk/test/dead-strip/TestDeadStrip.py
    lldb/trunk/test/lldbtest.py

Modified: lldb/trunk/test/dead-strip/TestDeadStrip.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dead-strip/TestDeadStrip.py?rev=111294&r1=111293&r2=111294&view=diff
==============================================================================
--- lldb/trunk/test/dead-strip/TestDeadStrip.py (original)
+++ lldb/trunk/test/dead-strip/TestDeadStrip.py Tue Aug 17 16:33:31 2010
@@ -32,7 +32,7 @@
         self.assertTrue(res.GetOutput().startswith(
             "Breakpoint created: 2: name = 'f2', module = a.out, locations = 0 "
             "(pending)"),
-                        BREAKPOINT_CREATED)
+                        BREAKPOINT_PENDING_CREATED)
 
         # Break by function name f3 (live code).
         self.ci.HandleCommand("breakpoint set -s a.out -n f3", res)

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=111294&r1=111293&r2=111294&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Tue Aug 17 16:33:31 2010
@@ -43,6 +43,8 @@
 
 BREAKPOINT_CREATED = "Breakpoint created successfully"
 
+BREAKPOINT_PENDING_CREATED = "Pending breakpoint created successfully"
+
 BREAKPOINT_HIT_ONCE = "Breakpoint resolved with hit cout = 1"
 
 STOPPED_DUE_TO_BREAKPOINT = "Process state is stopped due to breakpoint"





More information about the lldb-commits mailing list