Skip to content

Commit

Permalink
t9700: skip when Test::More is not available
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Jun 30, 2008
1 parent 8e69d78 commit e46f9c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/t9700-perl-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit e46f9c8

Please sign in to comment.