From e46f9c8161a0df4d4b9f8c8a98b1a8c0d9452cfd Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 29 Jun 2008 13:21:42 -0700 Subject: [PATCH] t9700: skip when Test::More is not available Signed-off-by: Junio C Hamano --- t/t9700-perl-git.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 \