summaryrefslogtreecommitdiffstats
path: root/lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py')
-rw-r--r--lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py b/lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py
index 33baaa559ab..33a6832981e 100644
--- a/lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py
+++ b/lldb/test/tools/lldb-server/TestGDBRemoteMemoryRead.py
@@ -2,8 +2,9 @@
Tests the binary ($x) and hex ($m) memory read packets of the remote stub
"""
+import lldb_shared
+
import os
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -36,10 +37,3 @@ class MemoryReadTestCase(TestBase):
process.Continue()
self.assertEqual(process.GetState(), lldb.eStateExited, "Process exited")
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud