Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
test-lib: TAP compliance for skipping tests on request
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>
t/test-lib.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
47e67d4
)
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
@@
-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"
- s
ay_color skip
"skip all tests in $this_test"
+ s
kip_all=
"skip all tests in $this_test"
test_done
esac
done