diff options
Diffstat (limited to 'lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py')
-rw-r--r-- | lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py b/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py index 65c145f6eb5..8bcf39e4696 100644 --- a/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py +++ b/lldb/test/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py @@ -3,8 +3,9 @@ This tests that we do not lose control of the inferior, while doing an instructi over a thread creation instruction. """ +import lldb_shared + import os -import unittest2 import lldb from lldbtest import * import lldbutil @@ -61,9 +62,3 @@ class CreateDuringInstructionStepTestCase(TestBase): # At this point, the inferior process should have exited. self.assertEqual(process.GetState(), lldb.eStateExited, PROCESS_EXITED) - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |