summaryrefslogtreecommitdiffstats
path: root/lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py')
-rw-r--r--lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py b/lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py
index b3eb7b651f5..ff55ecda989 100644
--- a/lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py
+++ b/lldb/test/benchmarks/frame_variable/TestFrameVariableResponse.py
@@ -1,7 +1,8 @@
"""Test lldb's response time for 'frame variable' command."""
+import lldb_shared
+
import os, sys
-import unittest2
import lldb
from lldbbench import *
@@ -72,10 +73,3 @@ class FrameVariableResponseBench(BenchBase):
# The test is about to end and if we come to here, the child process has
# been terminated. Mark it so.
self.child = None
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud