summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_script/import/TestImport.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/command_script/import/TestImport.py')
-rw-r--r--lldb/test/functionalities/command_script/import/TestImport.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/command_script/import/TestImport.py b/lldb/test/functionalities/command_script/import/TestImport.py
index a00db8e7dfe..f413bdc4baa 100644
--- a/lldb/test/functionalities/command_script/import/TestImport.py
+++ b/lldb/test/functionalities/command_script/import/TestImport.py
@@ -1,7 +1,8 @@
"""Test custom import command to import files by path."""
+import lldb_shared
+
import os, sys, time
-import unittest2
import lldb
from lldbtest import *
@@ -68,10 +69,3 @@ class ImportTestCase(TestBase):
substrs = ['barutil says', 'bar told me', 'hello'])
self.expect("foobarcmd hello",
substrs = ['foobar says', 'hello'])
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud