From f4e9a4c67619747d50cce9fa1f69b568459ab0b1 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 8 Jul 2011 01:01:45 +0000 Subject: Rearranged the debug output to come before the assert for function name 'outer_inline'. Right now clang-139 fails the test. llvm-svn: 134673 --- lldb/test/python_api/frame/inlines/TestInlinedFrame.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lldb/test/python_api/frame') diff --git a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py index b6b1e6d3fb6..2ccbbc642a1 100644 --- a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py +++ b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py @@ -47,16 +47,16 @@ class InlinedFrameAPITestCase(TestBase): self.assertTrue(process.GetState() == lldb.eStateStopped, PROCESS_STOPPED) - # The first breakpoint should correspond to an inlined call frame. - frame0 = process.GetThreadAtIndex(0).GetFrameAtIndex(0) - self.assertTrue(frame0.IsInlined() and - frame0.GetFunctionName() == 'outer_inline') - self.runCmd("bt") if self.TraceOn(): print "Full stack traces when first stopped on the breakpoint 'outer_inline':" import lldbutil - print lldbutil.print_stacktraces(process) + print lldbutil.print_stacktraces(process, string_buffer=True) + + # The first breakpoint should correspond to an inlined call frame. + frame0 = process.GetThreadAtIndex(0).GetFrameAtIndex(0) + self.assertTrue(frame0.IsInlined() and + frame0.GetFunctionName() == 'outer_inline') if __name__ == '__main__': -- cgit v1.2.3