summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-03-30 14:05:37 +0000
committerTamas Berghammer <tberghammer@google.com>2015-03-30 14:05:37 +0000
commitab6216d050a5c3191a9f0db8e2dde426a5876f9d (patch)
treed4384ae5cc1efd6e68ee57a7f0b0d26084b0862b /lldb/test/functionalities
parentd3ac79b3b4fae83a536f8355bd93ca42316e9488 (diff)
downloadbcm5719-llvm-ab6216d050a5c3191a9f0db8e2dde426a5876f9d.tar.gz
bcm5719-llvm-ab6216d050a5c3191a9f0db8e2dde426a5876f9d.zip
Fix check in TestNoreturnUnwind
llvm-svn: 233546
Diffstat (limited to 'lldb/test/functionalities')
-rw-r--r--lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py b/lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
index c0c372dab1e..2250ebfcb45 100644
--- a/lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
+++ b/lldb/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
@@ -59,7 +59,7 @@ class NoreturnUnwind(TestBase):
# I'm going to assume that abort() ends up calling/invoking another
# function before halting the process. In which case if abort_frame_number
# equals 0, we didn't find abort() in the backtrace.
- if abort_frame_number == 0:
+ if abort_frame_number == len(thread.frames):
self.fail("Unable to find abort() in backtrace.")
func_c_frame_number = abort_frame_number + 1
OpenPOWER on IntegriCloud