author | Lea Wiemann <lewiemann@gmail.com> | |
Thu, 19 Jun 2008 18:18:03 +0000 (20:18 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 19 Jun 2008 21:38:24 +0000 (14:38 -0700) | ||
commit | fb32c410087e68d650b31f68e66b3d9cbcce4a56 | |
tree | 7ba690a9c9712c22217198283bd74306ae6eb26d | tree | snapshot |
parent | 5f54de5bd07481f6d88e8dbd5551f3356ecbf513 | commit | diff |
t/test-lib.sh: add test_external and test_external_without_stderr
This is for running external test scripts in other programming
languages that provide continuous output about their tests. Using
test_expect_success (like "test_expect_success 'description' 'perl
test-script.pl'") doesn't suffice here because test_expect_success
eats stdout in non-verbose mode, which is not fixable without major
file descriptor trickery.
Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This is for running external test scripts in other programming
languages that provide continuous output about their tests. Using
test_expect_success (like "test_expect_success 'description' 'perl
test-script.pl'") doesn't suffice here because test_expect_success
eats stdout in non-verbose mode, which is not fixable without major
file descriptor trickery.
Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh | diff | blob | history |