summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/plugins/commands
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/plugins/commands')
-rw-r--r--lldb/test/functionalities/plugins/commands/TestPluginCommands.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/plugins/commands/TestPluginCommands.py b/lldb/test/functionalities/plugins/commands/TestPluginCommands.py
index f00ada5040a..4053fe336c1 100644
--- a/lldb/test/functionalities/plugins/commands/TestPluginCommands.py
+++ b/lldb/test/functionalities/plugins/commands/TestPluginCommands.py
@@ -2,9 +2,10 @@
Test that plugins that load commands work correctly.
"""
+import lldb_shared
+
import os, time
import re
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -59,10 +60,3 @@ class PluginCommandTestCase(TestBase):
print retobj.GetOutput()
self.expect(retobj,substrs = ['abc def ghi'], exe=False)
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud