summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/objc/objc-stepping/TestObjCStepping.py')
-rw-r--r--lldb/test/lang/objc/objc-stepping/TestObjCStepping.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py b/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py
index 0fb8bcebe91..015992ccbf3 100644
--- a/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py
+++ b/lldb/test/lang/objc/objc-stepping/TestObjCStepping.py
@@ -1,7 +1,8 @@
"""Test stepping through ObjC method dispatch in various forms."""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
import lldbutil
from lldbtest import *
@@ -167,9 +168,3 @@ class TestObjCStepping(TestBase):
thread.StepInto()
line_number = thread.GetFrameAtIndex(0).GetLineEntry().GetLine()
self.assertTrue (line_number == self.stepped_past_nil_line, "Step in over dispatch to nil stepped over.")
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud