summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py')
-rw-r--r--lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py b/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
index 0a1a9b81ffe..31d120fccef 100644
--- a/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
+++ b/lldb/test/expression_command/radar_9531204/TestPrintfAfterUp.py
@@ -2,8 +2,9 @@
The evaluating printf(...) after break stop and then up a stack frame.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -37,10 +38,3 @@ class Radar9531204TestCase(TestBase):
# This does not currently.
self.runCmd('expression (int)printf("argc is: %d.\\n", argc)')
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud