[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / lldb / packages / Python / lldbsuite / test / issue_verification / TestSignal.py.park
blob5a34c096201edcf068a62cc1f0fba2500f19ae76
1 """Tests that an exceptional exit is detected by the testbot."""
4 import os
5 import signal
6 import time
8 import lldbsuite.test.lldbtest as lldbtest
11 class ExceptionalExitTestCase(lldbtest.TestBase):
12     """Forces exceptional exit."""
13     mydir = lldbtest.TestBase.compute_mydir(__file__)
15     @lldbtest.skipIfWindows
16     def test_buildbot_catches_exceptional_exit(self):
17         """Force process to die with exceptional exit."""
19         # Sleep for a couple seconds
20         try:
21             time.sleep(5)
22         except:
23             pass
25         os.kill(os.getpid(), signal.SIGKILL)