summaryrefslogtreecommitdiffstats
path: root/lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py')
-rw-r--r--lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py b/lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py
index c28d0473ee3..7f1fabc1428 100644
--- a/lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py
+++ b/lldb/test/macosx/indirect_symbol/TestIndirectSymbols.py
@@ -1,7 +1,8 @@
"""Test stepping and setting breakpoints in indirect and re-exported symbols."""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
import lldbutil
from lldbtest import *
@@ -83,11 +84,3 @@ class TestIndirectFunctions(TestBase):
self.assertTrue (len(threads) == 1, "Stopped at breakpoint in reexported function target.")
curr_function = thread.GetFrameAtIndex(0).GetFunctionName()
self.assertTrue (curr_function == "call_through_indirect_hidden", "Stepped into indirect symbols.")
-
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud