diff options
Diffstat (limited to 'lldb/test/python_api/frame/inlines/TestInlinedFrame.py')
-rw-r--r-- | lldb/test/python_api/frame/inlines/TestInlinedFrame.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py index 98bd8e60109..e5e53918190 100644 --- a/lldb/test/python_api/frame/inlines/TestInlinedFrame.py +++ b/lldb/test/python_api/frame/inlines/TestInlinedFrame.py @@ -2,9 +2,10 @@ Testlldb Python SBFrame APIs IsInlined() and GetFunctionName(). """ +import lldb_shared + import os, time import re -import unittest2 import lldb, lldbutil from lldbtest import * @@ -73,9 +74,3 @@ class InlinedFrameAPITestCase(TestBase): print stack_traces2 self.expect(stack_traces2, "Second stop at %s:%d" % (self.source, self.second_stop), exe=False, substrs = ['%s:%d' % (self.source, self.second_stop)]) - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |