1 """Tests that an exceptional exit is detected by the testbot."""
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
25 os.kill(os.getpid(), signal.SIGKILL)