summaryrefslogtreecommitdiffstats
path: root/lldb/test/breakpoint_ids/TestBreakpointIDs.py
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2011-01-31 20:27:28 +0000
committerCaroline Tice <ctice@apple.com>2011-01-31 20:27:28 +0000
commit4dd2a3bb9716d2e9a75f11ae319764c8122a2b8b (patch)
treef544c1e29a4ca4ab79ed154ba447720f219dc548 /lldb/test/breakpoint_ids/TestBreakpointIDs.py
parent865fe3b283e2fa8670b444380fa6b3fec99d2db1 (diff)
downloadbcm5719-llvm-4dd2a3bb9716d2e9a75f11ae319764c8122a2b8b.tar.gz
bcm5719-llvm-4dd2a3bb9716d2e9a75f11ae319764c8122a2b8b.zip
Test warning for pending breakpoints.
llvm-svn: 124600
Diffstat (limited to 'lldb/test/breakpoint_ids/TestBreakpointIDs.py')
-rw-r--r--lldb/test/breakpoint_ids/TestBreakpointIDs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/breakpoint_ids/TestBreakpointIDs.py b/lldb/test/breakpoint_ids/TestBreakpointIDs.py
index bac031bb863..89eee0d618b 100644
--- a/lldb/test/breakpoint_ids/TestBreakpointIDs.py
+++ b/lldb/test/breakpoint_ids/TestBreakpointIDs.py
@@ -31,6 +31,9 @@ class BreakpointIDTestCase(TestBase):
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,
OpenPOWER on IntegriCloud