summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/objc/objc-struct-argument
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lang/objc/objc-struct-argument')
-rw-r--r--lldb/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py b/lldb/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py
index 47d1ea432b4..be6e87b939e 100644
--- a/lldb/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py
+++ b/lldb/test/lang/objc/objc-struct-argument/TestObjCStructArgument.py
@@ -1,7 +1,8 @@
"""Test passing structs to Objective-C methods."""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
import lldbutil
from lldbtest import *
@@ -52,9 +53,3 @@ class TestObjCStructArgument(TestBase):
# Now make sure we can call a method that returns a struct without crashing.
cmd_value = frame.EvaluateExpression ("[provider getRange]")
self.assertTrue (cmd_value.IsValid())
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud