summaryrefslogtreecommitdiffstats
path: root/lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py')
-rw-r--r--lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py b/lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py
index 623e2c081b3..71017eb3e34 100644
--- a/lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py
+++ b/lldb/test/benchmarks/stepping/TestRunHooksThenSteppings.py
@@ -1,7 +1,8 @@
"""Test lldb's stepping speed."""
+import lldb_shared
+
import os, sys
-import unittest2
import lldb
from lldbbench import *
@@ -59,10 +60,3 @@ class RunHooksThenSteppingsBench(BenchBase):
pass
self.child = None
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud