mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-06 20:46:04 +00:00
17 lines
463 B
Plaintext
17 lines
463 B
Plaintext
![]() |
"""Tests that a FAIL is detected by the testbot."""
|
||
|
|
||
|
from __future__ import print_function
|
||
|
|
||
|
import lldbsuite.test.lldbtest as lldbtest
|
||
|
|
||
|
|
||
|
class FailTestCase(lldbtest.TestBase):
|
||
|
"""Forces test failure."""
|
||
|
mydir = lldbtest.TestBase.compute_mydir(__file__)
|
||
|
|
||
|
def test_buildbot_catches_failure(self):
|
||
|
"""Issues a failing test assertion."""
|
||
|
self.assertTrue(
|
||
|
False,
|
||
|
"This will always fail, buildbot should flag this.")
|