summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py')
-rw-r--r--lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py b/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
index cecc5d91f78..dc1d4dca9b0 100644
--- a/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
+++ b/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py
@@ -2,8 +2,9 @@
Test number of threads.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -76,9 +77,3 @@ class ExitDuringBreakpointTestCase(TestBase):
# At this point, the inferior process should have exited.
self.assertTrue(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