aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2010-07-12 12:33:49 +0200
committerJunio C Hamano <gitster@pobox.com>2010-07-12 07:53:08 -0700
commit637ab29b86533c7ce65a615fd445d163a2c57dc9 (patch)
treeffda2e81001f820580d67ab4ae3c7729b28f05aa /t
parent47e67d479b305bbec996b2422e2776fb7c39be27 (diff)
downloadgit-637ab29b86533c7ce65a615fd445d163a2c57dc9.tar.gz
git-637ab29b86533c7ce65a615fd445d163a2c57dc9.tar.xz
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>
Diffstat (limited to 't')
-rw-r--r--t/test-lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index bc0656457..db8371cb1 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -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