summaryrefslogtreecommitdiffstats
path: root/lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py')
-rw-r--r--lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py b/lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
index ab57a704022..c359ab256e2 100644
--- a/lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
+++ b/lldb/test/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
@@ -1,7 +1,8 @@
"""Benchmark the turnaround time starting a debugger and run to the breakpont with lldb vs. gdb."""
+import lldb_shared
+
import os, sys
-import unittest2
import lldb
from lldbbench import *
@@ -116,10 +117,3 @@ class CompileRunToBreakpointBench(BenchBase):
self.gdb_avg = self.stopwatch.avg()
self.child = None
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud