summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/char/TestExprsChar.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/char/TestExprsChar.py')
-rw-r--r--lldb/test/expression_command/char/TestExprsChar.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/expression_command/char/TestExprsChar.py b/lldb/test/expression_command/char/TestExprsChar.py
index 0a8319f95cb..c5745189d56 100644
--- a/lldb/test/expression_command/char/TestExprsChar.py
+++ b/lldb/test/expression_command/char/TestExprsChar.py
@@ -1,4 +1,5 @@
-import unittest2
+import lldb_shared
+
import lldb
import lldbutil
from lldbtest import *
@@ -64,9 +65,3 @@ class ExprCharTestCase(TestBase):
@expectedFailureWindows("llvm.org/pr21765")
def test_unsigned_char(self):
self.do_test(dictionary={'CFLAGS_EXTRAS': '-funsigned-char'})
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud