summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/exec/TestExec.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/exec/TestExec.py')
-rw-r--r--lldb/test/functionalities/exec/TestExec.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/exec/TestExec.py b/lldb/test/functionalities/exec/TestExec.py
index c81ebefafb1..7b6ce977669 100644
--- a/lldb/test/functionalities/exec/TestExec.py
+++ b/lldb/test/functionalities/exec/TestExec.py
@@ -1,11 +1,12 @@
"""
Test some lldb command abbreviations.
"""
+import lldb_shared
+
import commands
import lldb
import os
import time
-import unittest2
from lldbtest import *
import lldbutil
@@ -80,10 +81,3 @@ class ExecTestCase(TestBase):
# Run and we should stop at breakpoint in main after exec
process.Continue()
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
-
OpenPOWER on IntegriCloud