summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py')
-rw-r--r--lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py b/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py
index 23bf8a122c6..4ac48e1866b 100644
--- a/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py
+++ b/lldb/test/lang/cpp/rdar12991846/TestRdar12991846.py
@@ -3,8 +3,10 @@
Test that the expression parser returns proper Unicode strings.
"""
-import os, time
+import lldb_shared
+
import unittest2
+import os, time
import lldb
from lldbtest import *
import lldbutil
@@ -79,9 +81,3 @@ class Rdar12991846TestCase(TestBase):
if expr == 2: self.expect('expression u"hello"', substrs = ['hello'])
if expr == 3: self.expect('expression U"hello"', substrs = ['hello'])
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud