summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py')
-rw-r--r--lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py b/lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py
index 2438873b515..d2b3ab91ba3 100644
--- a/lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py
+++ b/lldb/test/lang/cpp/wchar_t/TestCxxWCharT.py
@@ -3,8 +3,9 @@
Test that C++ supports wchar_t correctly.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -69,9 +70,3 @@ class CxxWCharTTestCase(TestBase):
self.expect('frame variable wchar_zero', substrs=["L'\\0'"])
self.expect('expression wchar_zero', substrs=["L'\\0'"])
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud