diff options
Diffstat (limited to 'lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py')
-rw-r--r-- | lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py b/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py index 5f7e84df40c..d184edc6572 100644 --- a/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py +++ b/lldb/test/functionalities/abbreviation/TestCommonShortSpellings.py @@ -3,8 +3,9 @@ Test some lldb command abbreviations to make sure the common short spellings of many commands remain available even after we add/delete commands in the future. """ +import lldb_shared + import os, time -import unittest2 import lldb from lldbtest import * import lldbutil @@ -33,11 +34,3 @@ class CommonShortSpellingsTestCase(TestBase): command_interpreter.ResolveCommand(short, result) self.assertTrue(result.Succeeded()) self.assertEqual(long, result.GetOutput()) - - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() - |