From: Dmitry Kurochkin Date: Mon, 4 Jul 2011 04:07:20 +0000 (+0400) Subject: test: improve known broken tests support X-Git-Tag: 0.9_rc1~38 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4cc67276885990c38bc2bcc79eedbb0851e2bc8a test: improve known broken tests support There is existing support for broken tests. But it is not convenient to use. The primary issue is that we have to maintain a set of test_expect_*_failure functions which are equivalent to the normal test_expect_* counterparts except for what functions are called for result reporting. The patch adds test_subtest_known_broken function which marks a subset as broken, making the normal test_expect_* functions behave as test_expect_*_failure. All test_expect_*_failure functions are removed. Test_known_broken_failure_ is changed to format details the same way as test_failure_ does. Another benefit of this change is that the diff when a broken test is fixed would be small and nice. Documentation is updated accordingly. --- diff --git a/test/README b/test/README index a245bf12..0b547480 100644 --- a/test/README +++ b/test/README @@ -132,20 +132,19 @@ library for your script to use.