summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py')
-rw-r--r--lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py b/lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
index 8a7b4d00a2c..5b8b11d578e 100644
--- a/lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
+++ b/lldb/test/functionalities/jitloader_gdb/TestJITLoaderGDB.py
@@ -1,7 +1,9 @@
"""Test for the JITLoaderGDB interface"""
-import os
+import lldb_shared
+
import unittest2
+import os
import lldb
from lldbtest import *
import lldbutil
@@ -31,9 +33,3 @@ class JITLoaderGDBTestCase(TestBase):
self.assertEqual(process.GetState(), lldb.eStateExited)
self.assertEqual(process.GetExitStatus(), 0)
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud