summaryrefslogtreecommitdiffstats
path: root/lldb/test/benchmarks/expression/TestExpressionCmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/benchmarks/expression/TestExpressionCmd.py')
-rw-r--r--lldb/test/benchmarks/expression/TestExpressionCmd.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/benchmarks/expression/TestExpressionCmd.py b/lldb/test/benchmarks/expression/TestExpressionCmd.py
index a9d26499eb2..aa7b03f2ffb 100644
--- a/lldb/test/benchmarks/expression/TestExpressionCmd.py
+++ b/lldb/test/benchmarks/expression/TestExpressionCmd.py
@@ -1,7 +1,8 @@
"""Test lldb's expression evaluations and collect statistics."""
+import lldb_shared
+
import os, sys
-import unittest2
import lldb
from lldbbench import *
@@ -68,10 +69,3 @@ class ExpressionEvaluationCase(BenchBase):
pass
self.child = None
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud