summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py')
-rw-r--r--lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py b/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
index 51bc26f9d0e..d91f8d5d4eb 100644
--- a/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
+++ b/lldb/test/functionalities/thread/create_after_attach/TestCreateAfterAttach.py
@@ -2,8 +2,9 @@
Test thread creation after process attach.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -115,10 +116,3 @@ class CreateAfterAttachTestCase(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