summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/c/stepping/TestStepAndBreakpoints.py')
-rw-r--r--lldb/test/lang/c/stepping/TestStepAndBreakpoints.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py
index 0651ddcb064..9d3b3c6bd29 100644
--- a/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py
+++ b/lldb/test/lang/c/stepping/TestStepAndBreakpoints.py
@@ -176,7 +176,8 @@ class TestCStepping(TestBase):
thread.StepOver()
# See that we are still in b:
- self.assertTrue (thread.GetFrameAtIndex(0).GetFunctionName() == "b")
+ func_name = thread.GetFrameAtIndex(0).GetFunctionName()
+ self.assertTrue (func_name == "b", "Should be in 'b', were in %s"%(func_name))
# Okay, now if we continue, we will finish off our function call and we should end up back in "a" as if nothing had happened:
process.Continue ()
OpenPOWER on IntegriCloud