Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Try to make test output look better
author
Petr Baudis
<pasky@ucw.cz>
Sat, 14 May 2005 16:01:30 +0000
(18:01 +0200)
committer
Petr Baudis
<xpasky@machine.sinus.cz>
Sat, 14 May 2005 16:01:30 +0000
(18:01 +0200)
NO changed to FAIL and ok was right-aligned with it so that it is easier
to visually identify the failed tests, and the removal of # should reduce
the clutter on the line and aid the eye to spot the test number better.
t/test-lib.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
d6928eb
)
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index 079e5bd7aed73dce1ad2f99ecdae1389e46235bd..9b88cc4f8678427f1bf22640138adc66d1090967 100755
(executable)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-76,13
+76,13
@@
test_debug () {
test_ok () {
test_count=$(expr "$test_count" + 1)
- say "
ok #
$test_count: $@"
+ say "
ok
$test_count: $@"
}
test_failure () {
test_count=$(expr "$test_count" + 1)
test_failure=$(expr "$test_failure" + 1);
- say "
NO #
$test_count: $@"
+ say "
FAIL
$test_count: $@"
}
test_expect_failure () {