summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47e67d4)
raw | patch | inline | side by side (parent: 47e67d4)
author | Michael J Gruber <git@drmicha.warpmail.net> | |
Mon, 12 Jul 2010 10:33:49 +0000 (12:33 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 12 Jul 2010 14:53:08 +0000 (07:53 -0700) |
Make the output TAP compliant for tests skipped on request (GIT_SKIP_TESTS).
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh | patch | blob | history |
diff --git a/t/test-lib.sh b/t/test-lib.sh
index bc0656457baf2d6e2361fb4a347b2fad0bbb3718..db8371cb170c5924512a5626681f485ea3cf6884 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
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
;;
*)
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