提交 637ab29b 编写于 作者: M Michael J Gruber 提交者: Junio C Hamano

test-lib: TAP compliance for skipping tests on request

Make the output TAP compliant for tests skipped on request (GIT_SKIP_TESTS).
Signed-off-by: NMichael J Gruber <git@drmicha.warpmail.net>
Acked-by: NÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 47e67d47
......@@ -396,7 +396,7 @@ test_skip () {
case "$to_skip" in
t)
say_color skip >&3 "skipping test: $@"
say_color skip "ok $test_count: # skip $1"
say_color skip "ok $test_count # skip $1"
: true
;;
*)
......@@ -833,7 +833,7 @@ do
case "$this_test" in
$skp)
say_color skip >&3 "skipping test $this_test altogether"
say_color skip "skip all tests in $this_test"
skip_all="skip all tests in $this_test"
test_done
esac
done
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册