diff options
Diffstat (limited to 'lldb/test/python_api/thread')
-rw-r--r-- | lldb/test/python_api/thread/TestThreadAPI.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/python_api/thread/TestThreadAPI.py b/lldb/test/python_api/thread/TestThreadAPI.py index 8ace950a46e..2fea893a1eb 100644 --- a/lldb/test/python_api/thread/TestThreadAPI.py +++ b/lldb/test/python_api/thread/TestThreadAPI.py @@ -2,8 +2,9 @@ Test SBThread APIs. """ +import lldb_shared + import os, time -import unittest2 import lldb from lldbutil import get_stopped_thread, get_caller_symbol from lldbtest import * @@ -240,10 +241,3 @@ class ThreadAPITestCase(TestBase): thread.RunToAddress(start_addr) self.runCmd("process status") #self.runCmd("thread backtrace") - - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |