diff options
Diffstat (limited to 'lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py')
-rw-r--r-- | lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py b/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py index e6bd49ad2d7..609a1b937a7 100644 --- a/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py +++ b/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py @@ -1,10 +1,11 @@ """ Test that argdumper is a viable launching strategy. """ +import lldb_shared + import lldb import os import time -import unittest2 from lldbtest import * import lldbutil @@ -92,10 +93,3 @@ class LaunchWithShellExpandTestCase(TestBase): "Thread in process stopped in 'main' should have a stop reason of eStopReasonBreakpoint"); self.expect("frame variable argv[1]", substrs=['foo bar']) - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() - |