diff options
Diffstat (limited to 'lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py')
-rw-r--r-- | lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py index 09945f5cbe5..7319ce39b48 100644 --- a/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py +++ b/lldb/test/python_api/lldbutil/process/TestPrintStackTraces.py @@ -2,9 +2,10 @@ Test SBprocess and SBThread APIs with printing of the stack traces using lldbutil. """ +import lldb_shared + import os, time import re -import unittest2 import lldb from lldbtest import * @@ -47,10 +48,3 @@ class ThreadsStackTracesTestCase(TestBase): stacktraces = lldbutil.print_stacktraces(process, string_buffer=True) self.expect(stacktraces, exe=False, substrs = ['(int)argc=3']) - - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |