summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/call-function/TestCallStopAndContinue.py')
-rw-r--r--lldb/test/expression_command/call-function/TestCallStopAndContinue.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
index 1f34ad3addc..10a4c21d0a8 100644
--- a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
+++ b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
@@ -2,7 +2,8 @@
Test calling a function, stopping in the call, continue and gather the result on stop.
"""
-import unittest2
+import lldb_shared
+
import lldb
import lldbutil
from lldbtest import *
@@ -41,9 +42,3 @@ class ExprCommandCallStopContinueTestCase(TestBase):
self.expect ("thread list",
substrs = ['stop reason = User Expression thread plan',
r'Completed expression: (Five) $0 = (number = 5, name = "five")'])
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud