summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/issue_11588/Test11588.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/issue_11588/Test11588.py')
-rw-r--r--lldb/test/expression_command/issue_11588/Test11588.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/expression_command/issue_11588/Test11588.py b/lldb/test/expression_command/issue_11588/Test11588.py
index be631ed1d7d..d1793c3f96f 100644
--- a/lldb/test/expression_command/issue_11588/Test11588.py
+++ b/lldb/test/expression_command/issue_11588/Test11588.py
@@ -4,8 +4,9 @@ valobj.AddressOf() returns None when an address is
expected in a SyntheticChildrenProvider
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
import lldbutil
from lldbtest import *
@@ -72,10 +73,3 @@ class Issue11581TestCase(TestBase):
"load_address = ",
hex(addr)[2:].rstrip("L"),
str(addr)])
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud