From: Karl Hasselström Date: Sun, 23 Sep 2007 12:18:50 +0000 (+0200) Subject: New policy: Only use test_expect_failure for broken tests X-Git-Tag: v0.14~69 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/5f594e90e9a0867e1b87ffb8b0a077152246b56c?hp=5f594e90e9a0867e1b87ffb8b0a077152246b56c New policy: Only use test_expect_failure for broken tests New policy for tests: * For subtests whose commands fail when the test succeeds, use test_expect_success and shell negation (!). test_expect_failure is to be used only for subtests that are known to be broken. * Patches that introduce a subtest failure must change that subtest to use test_expect_failure. The reason for this change is to ensure that the test suite passes at all times, even in the middle of disruptive rewrites spread over several commits. Signed-off-by: Karl Hasselström ---