summaryrefslogtreecommitdiffstats
path: root/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park
blob: da64bc0ea8c17ebd09c4031fa9adc9da9c1d8798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""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.")
OpenPOWER on IntegriCloud