summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_source
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/command_source')
-rw-r--r--lldb/test/functionalities/command_source/TestCommandSource.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/command_source/TestCommandSource.py b/lldb/test/functionalities/command_source/TestCommandSource.py
index 122d4c69d88..22f8ff74798 100644
--- a/lldb/test/functionalities/command_source/TestCommandSource.py
+++ b/lldb/test/functionalities/command_source/TestCommandSource.py
@@ -4,8 +4,9 @@ Test that lldb command "command source" works correctly.
See also http://llvm.org/viewvc/llvm-project?view=rev&revision=109673.
"""
+import lldb_shared
+
import os, sys
-import unittest2
import lldb
from lldbtest import *
@@ -31,10 +32,3 @@ class CommandSourceTestCase(TestBase):
self.expect(result.GetOutput(), "script my.date() runs successfully",
exe=False,
substrs = [str(datetime.date.today())])
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud