summaryrefslogtreecommitdiffstats
path: root/lldb/test/macosx/universal/TestUniversal.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/macosx/universal/TestUniversal.py')
-rw-r--r--lldb/test/macosx/universal/TestUniversal.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/lldb/test/macosx/universal/TestUniversal.py b/lldb/test/macosx/universal/TestUniversal.py
index 7c3decfa92c..9628c538587 100644
--- a/lldb/test/macosx/universal/TestUniversal.py
+++ b/lldb/test/macosx/universal/TestUniversal.py
@@ -1,7 +1,9 @@
"""Test aspects of lldb commands on universal binaries."""
-import os, time
+import lldb_shared
+
import unittest2
+import os, time
import lldb
from lldbtest import *
import lldbutil
@@ -101,10 +103,3 @@ class UniversalTestCase(TestBase):
substrs = ['Name: eax'])
self.runCmd("continue")
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud