X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=966b2dcfd64ab9975171c39c1959fb10ae5941a2;hb=22af786838793ed97fa3dbb1d223e90602912b71;hp=196ef49624a64995f2cc83758150deafdf5a8de1;hpb=fa52a0d094a6585f36f484082fc3e28261718e72;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index 196ef496..966b2dcf 100755 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -574,12 +574,14 @@ test_failure_message_ () { } test_known_broken_ok_ () { + test_subtest_known_broken_= test_fixed=$(($test_fixed+1)) say_color pass "%-6s" "FIXED" echo " $@" } test_known_broken_failure_ () { + test_subtest_known_broken_= test_broken=$(($test_broken+1)) test_failure_message_ "BROKEN" "$@" } @@ -614,6 +616,7 @@ test_skip () { fi case "$to_skip" in t) + test_subtest_known_broken_= say_color skip >&3 "skipping test: $@" say_color skip "%-6s" "SKIP" echo " $1"