summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py')
-rw-r--r--lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py b/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
index e149f361ea0..462314b735d 100644
--- a/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
+++ b/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py
@@ -2,8 +2,9 @@
Test number of threads.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -72,9 +73,3 @@ class BreakpointAfterJoinTestCase(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