summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread/jump/TestThreadJump.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/thread/jump/TestThreadJump.py')
-rw-r--r--lldb/test/functionalities/thread/jump/TestThreadJump.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/functionalities/thread/jump/TestThreadJump.py b/lldb/test/functionalities/thread/jump/TestThreadJump.py
index 3919a242127..a9b06863a72 100644
--- a/lldb/test/functionalities/thread/jump/TestThreadJump.py
+++ b/lldb/test/functionalities/thread/jump/TestThreadJump.py
@@ -2,8 +2,9 @@
Test jumping to different places.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -55,9 +56,3 @@ class ThreadJumpTestCase(TestBase):
self.runCmd("thread step-out") # return out
self.runCmd("thread step-over") # assign to the global
self.expect("expr %s" % var, substrs = [value]) # check it
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud