summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/persistent_variables/TestPersistentVariables.py')
-rw-r--r--lldb/test/expression_command/persistent_variables/TestPersistentVariables.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
index 77d1c251915..3a10a98475c 100644
--- a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
+++ b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py
@@ -2,8 +2,9 @@
Test that lldb persistent variables works correctly.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
@@ -49,9 +50,3 @@ class PersistentVariablesTestCase(TestBase):
self.expect("expression (long)$4",
startstr = "(long) $6 = -2")
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud