@matheusbsbs / matheus-bagliano / commits / 7a0cf2d013
Fork 0

test-lib: separate individual test better in verbose mode.

When running tests with --verbose it is difficult to see where one test starts and where it ends because everything is printed in one big lump. Fix that by printing one single newline between each test. Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Martin Waitz committed Oct 7, 2006 at 21:27 UTC 7a0cf2d0138cf3abd3f2c3c9a1aa4dc55bf0700f
1 file changed +3
t/test-lib.sh
+3
@@ -135,6 +135,7 @@ test_expect_failure () {
135 else
136 test_failure_ "$@"
137 fi
138 + echo >&3 ""
139 }
140
141 test_expect_success () {
@@ -148,6 +149,7 @@ test_expect_success () {
149 else
150 test_failure_ "$@"
151 fi
152 + echo >&3 ""
153 }
154
155 test_expect_code () {
@@ -161,6 +163,7 @@ test_expect_code () {
163 else
164 test_failure_ "$@"
165 fi
166 + echo >&3 ""
167 }
168
169 # Most tests can use the created repository, but some amy need to create more.