summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py')
-rw-r--r--lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py b/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
index 5681b1281c7..d12b39d1cb7 100644
--- a/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
+++ b/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
@@ -3,8 +3,9 @@ Test that inlined breakpoints (breakpoint set on a file/line included from
another source file) works correctly.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -52,10 +53,3 @@ class InlinedBreakpointsTestCase(TestBase):
substrs = ['stopped',
'stop reason = breakpoint',
'basic_type.cpp:%d' % self.line])
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud