summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py')
-rw-r--r--lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py b/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py
index f7f9e67a014..3ef4193a917 100644
--- a/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py
+++ b/lldb/test/lang/cpp/dynamic-value/TestDynamicValue.py
@@ -2,9 +2,10 @@
Use lldb Python API to test dynamic values in C++
"""
+import lldb_shared
+
import os, time
import re
-import unittest2
import lldb, lldbutil
from lldbtest import *
@@ -217,10 +218,3 @@ class DynamicValueTestCase(TestBase):
contained_b_static_addr = int (contained_b_static.GetValue(), 16)
self.assertTrue (contained_b_addr < contained_b_static_addr)
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud