summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2015-12-09 18:24:47 +0000
committerTodd Fiala <todd.fiala@gmail.com>2015-12-09 18:24:47 +0000
commit29508491e5aa05dd1fb9a0ac2ad7d7366b84012a (patch)
tree70ba367c0fcd6dc5df75bb485d8c9ccbf9a20af7 /lldb/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park
parent78760ee73def433b57ad27418af000ee8e3c6535 (diff)
downloadbcm5719-llvm-29508491e5aa05dd1fb9a0ac2ad7d7366b84012a.tar.gz
bcm5719-llvm-29508491e5aa05dd1fb9a0ac2ad7d7366b84012a.zip
Disable the issue verification tests.
llvm-svn: 255134
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park')
-rw-r--r--lldb/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park16
1 files changed, 16 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park b/lldb/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park
new file mode 100644
index 00000000000..da64bc0ea8c
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/issue_verification/TestFail.py.park
@@ -0,0 +1,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