summaryrefslogtreecommitdiffstats
path: root/lldb/test/warnings/uuid/TestAddDsymCommand.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/warnings/uuid/TestAddDsymCommand.py')
-rw-r--r--lldb/test/warnings/uuid/TestAddDsymCommand.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/warnings/uuid/TestAddDsymCommand.py b/lldb/test/warnings/uuid/TestAddDsymCommand.py
index 774e7725baf..7ea233ac924 100644
--- a/lldb/test/warnings/uuid/TestAddDsymCommand.py
+++ b/lldb/test/warnings/uuid/TestAddDsymCommand.py
@@ -1,7 +1,8 @@
"""Test that the 'add-dsym', aka 'target symbols add', command informs the user about success or failure."""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
@@ -102,10 +103,3 @@ class AddDsymCommandCase(TestBase):
right_path = "%s.dSYM" % exe_name
self.expect("add-dsym " + right_path,
substrs = ['symbol file', 'has been added to'])
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud