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>
Michael J Gruber committed
Jul 12, 2010 at 12:33 UTC
637ab29b86533c7ce65a615fd445d163a2c57dc9
1 file changed
+2
-2
t/test-lib.sh
+2
-2
@@ -396,7 +396,7 @@ test_skip () {
396
case "$to_skip" in
397
t)
398
say_color skip >&3 "skipping test: $@"
399
- say_color skip "ok $test_count: # skip $1"
399
+ say_color skip "ok $test_count # skip $1"
400
: true
401
;;
402
*)
@@ -833,7 +833,7 @@ do
833
case "$this_test" in
834
$skp)
835
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"
837
test_done
838
esac
839
done