summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41ac414)
raw | patch | inline | side by side (parent: 41ac414)
author | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Feb 2008 08:23:02 +0000 (00:23 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 3 Feb 2008 08:25:37 +0000 (00:25 -0800) |
When we have known breakages, we still said "passed all N
test(s)", which was a bit funny.
This rewords it to read "passed all remaining N test(s)" in such
a case.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
test(s)", which was a bit funny.
This rewords it to read "passed all remaining N test(s)" in such
a case.
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 9a3c0b4cadc9a2deae7a20f4236d43b1872cd307..da47bd7c9eaac7f01106c290fab8364e1ce838a4 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
if test "$test_broken" != 0
then
say_color error "still have $test_broken known breakage(s)"
+ msg="remaining $(($test_count-$test_broken)) test(s)"
+ else
+ msg="$test_count test(s)"
fi
case "$test_failure" in
0)
# The Makefile provided will clean this test area so
# we will leave things as they are.
- say_color pass "passed all $test_count test(s)"
+ say_color pass "passed all $msg"
exit 0 ;;
*)
- say_color error "failed $test_failure among $test_count test(s)"
+ say_color error "failed $test_failure among $msg"
exit 1 ;;
esac