[Lldb-commits] [lldb] r124600 - /lldb/trunk/test/breakpoint_ids/TestBreakpointIDs.py

Caroline Tice ctice at apple.com
Mon Jan 31 12:27:28 PST 2011


Author: ctice
Date: Mon Jan 31 14:27:28 2011
New Revision: 124600

URL: http://llvm.org/viewvc/llvm-project?rev=124600&view=rev
Log:
Test warning for pending breakpoints.


Modified:
    lldb/trunk/test/breakpoint_ids/TestBreakpointIDs.py

Modified: lldb/trunk/test/breakpoint_ids/TestBreakpointIDs.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/breakpoint_ids/TestBreakpointIDs.py?rev=124600&r1=124599&r2=124600&view=diff
==============================================================================
--- lldb/trunk/test/breakpoint_ids/TestBreakpointIDs.py (original)
+++ lldb/trunk/test/breakpoint_ids/TestBreakpointIDs.py Mon Jan 31 14:27:28 2011
@@ -31,6 +31,9 @@
         self.expect ("breakpoint set -n sum",
                      startstr = "Breakpoint created: 2: name = 'sum', locations = 3")
 
+        self.expect ("breakpoint set -n junk",
+                     startstr = "Breakpoint created: 3: name = 'junk', locations = 0 (pending)",
+                     substrs = [ "WARNING:  Unable to resolve breakpoint to any actual locations." ] )
 
         self.expect ("breakpoint disable 1.2 - 2.2 ",
                      COMMAND_FAILED_AS_EXPECTED, error = True,





More information about the lldb-commits mailing list