t9700: skip when Test::More is not available
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
8e69d78be3
commit
e46f9c8161
@ -6,6 +6,11 @@
|
|||||||
test_description='perl interface (Git.pm)'
|
test_description='perl interface (Git.pm)'
|
||||||
. ./test-lib.sh
|
. ./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
|
# set up test repository
|
||||||
|
|
||||||
test_expect_success \
|
test_expect_success \
|
||||||
|
Loading…
Reference in New Issue
Block a user