1 """Tests that an exceptional exit is detected by the testbot."""
3 from __future__ import print_function
9 import lldbsuite.test.lldbtest as lldbtest
12 class ExceptionalExitTestCase(lldbtest.TestBase):
13 """Forces exceptional exit."""
14 mydir = lldbtest.TestBase.compute_mydir(__file__)
16 @lldbtest.skipIfWindows
17 def test_buildbot_catches_exceptional_exit(self):
18 """Force process to die with exceptional exit."""
20 # Sleep for a couple seconds
26 os.kill(os.getpid(), signal.SIGKILL)