summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/lldbutil/frame/TestFrameUtils.py')
-rw-r--r--lldb/test/python_api/lldbutil/frame/TestFrameUtils.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py b/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
index 4b0c460ad69..28121365b75 100644
--- a/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
+++ b/lldb/test/python_api/lldbutil/frame/TestFrameUtils.py
@@ -2,8 +2,9 @@
Test utility functions for the frame object.
"""
+import lldb_shared
+
import os
-import unittest2
import lldb
from lldbtest import *
@@ -54,10 +55,3 @@ class FrameUtilsTestCase(TestBase):
lldbutil.print_stacktrace(thread)
print "Current frame: %s" % frame0_args
print "Parent frame: %s" % parent_args
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud