summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/c/bitfields/TestBitfields.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/c/bitfields/TestBitfields.py')
-rw-r--r--lldb/test/lang/c/bitfields/TestBitfields.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/test/lang/c/bitfields/TestBitfields.py
index 090b31950e8..024af2d1c5c 100644
--- a/lldb/test/lang/c/bitfields/TestBitfields.py
+++ b/lldb/test/lang/c/bitfields/TestBitfields.py
@@ -1,7 +1,8 @@
"""Show bitfields and check that they display correctly."""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -157,10 +158,3 @@ class BitfieldsTestCase(TestBase):
# Now kill the process, and we are done.
rc = target.GetProcess().Kill()
self.assertTrue(rc.Success())
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud