summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/thread/step_out/TestThreadStepOut.py')
-rw-r--r--lldb/test/functionalities/thread/step_out/TestThreadStepOut.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py b/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py
index 96a62e3ddca..3100b361d16 100644
--- a/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py
+++ b/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py
@@ -2,8 +2,9 @@
Test stepping out from a function in a multi-threaded program.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -126,9 +127,3 @@ class ThreadStepOutTestCase(TestBase):
# At this point, the inferior process should have exited.
self.assertTrue(self.inferior_process.GetState() == lldb.eStateExited, PROCESS_EXITED)
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud