Skip to content

Commit 637ab29

Browse files
Michael J Grubergitster
authored andcommitted
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: 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>
1 parent 47e67d4 commit 637ab29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/test-lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ test_skip () {
396396
case "$to_skip" in
397397
t)
398398
say_color skip >&3 "skipping test: $@"
399-
say_color skip "ok $test_count: # skip $1"
399+
say_color skip "ok $test_count # skip $1"
400400
: true
401401
;;
402402
*)
@@ -833,7 +833,7 @@ do
833833
case "$this_test" in
834834
$skp)
835835
say_color skip >&3 "skipping test $this_test altogether"
836-
say_color skip "skip all tests in $this_test"
836+
skip_all="skip all tests in $this_test"
837837
test_done
838838
esac
839839
done

0 commit comments

Comments
 (0)