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: http://git.ipfire.org/?a=commitdiff_plain;h=e46f9c8161a;p=thirdparty%2Fgit.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 b2fb9ece9c..9706ee5773 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 \