From: Junio C Hamano Date: Sun, 29 Jun 2008 20:21:42 +0000 (-0700) Subject: t9700: skip when Test::More is not available X-Git-Tag: v1.6.0-rc0~189 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e46f9c8161a0df4d4b9f8c8a98b1a8c0d9452cfd;p=git.git t9700: skip when Test::More is not available Signed-off-by: Junio C Hamano --- diff --git a/t/t9700-perl-git.sh b/t/t9700-perl-git.sh index b2fb9ece9..9706ee577 100755 --- a/t/t9700-perl-git.sh +++ b/t/t9700-perl-git.sh @@ -6,6 +6,11 @@ test_description='perl interface (Git.pm)' . ./test-lib.sh +perl -MTest::More -e 0 2>/dev/null || { + say_color skip "Perl Test::More unavailable, skipping test" + test_done +} + # set up test repository test_expect_success \