diff options
Diffstat (limited to 'lldb/test/lang/c/shared_lib/TestSharedLib.py')
-rw-r--r-- | lldb/test/lang/c/shared_lib/TestSharedLib.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lldb/test/lang/c/shared_lib/TestSharedLib.py b/lldb/test/lang/c/shared_lib/TestSharedLib.py index f2a84af0161..dd095272d80 100644 --- a/lldb/test/lang/c/shared_lib/TestSharedLib.py +++ b/lldb/test/lang/c/shared_lib/TestSharedLib.py @@ -1,5 +1,7 @@ """Test that types defined in shared libraries work correctly.""" +import lldb_shared + import unittest2 import lldb from lldbtest import * @@ -65,9 +67,3 @@ class SharedLibTestCase(TestBase): # The breakpoint should have a hit count of 1. self.expect("breakpoint list -f", BREAKPOINT_HIT_ONCE, substrs = [' resolved, hit count = 1']) - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |