summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py')
-rw-r--r--lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py b/lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
index 6feb31a13fe..b61132d5e32 100644
--- a/lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
+++ b/lldb/test/functionalities/breakpoint/objc/TestObjCBreakpoints.py
@@ -3,8 +3,9 @@ Test that objective-c constant strings are generated correctly by the expression
parser.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -89,9 +90,3 @@ class TestObjCBreakpoints(TestBase):
# Check breakpoints again, this time using the symbol table only
self.check_category_breakpoints()
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud