t9700: skip when Test::More is not available
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
Jun 29, 2008 at 13:21 UTC
e46f9c8161a0df4d4b9f8c8a98b1a8c0d9452cfd
1 file changed
+5
t/t9700-perl-git.sh
+5
@@ -6,6 +6,11 @@
6
test_description='perl interface (Git.pm)'
7
. ./test-lib.sh
8
9
+perl -MTest::More -e 0 2>/dev/null || {
10
+ say_color skip "Perl Test::More unavailable, skipping test"
11
+ test_done
12
+}
13
+
14
# set up test repository
15
16
test_expect_success \