]> git.ipfire.org Git - thirdparty/git.git/blame - t/lib-perl.sh
The second batch
[thirdparty/git.git] / t / lib-perl.sh
CommitLineData
64f3f5a3
ÆAB
1# Copyright (c) 2022 Ævar Arnfjörð Bjarmason
2
3test_lazy_prereq PERL_TEST_MORE '
4 perl -MTest::More -e 0
5'
6
7skip_all_if_no_Test_More () {
8 if ! test_have_prereq PERL
9 then
10 skip_all='skipping perl interface tests, perl not available'
11 test_done
12 fi
13
14 if ! test_have_prereq PERL_TEST_MORE
15 then
16 skip_all="Perl Test::More unavailable, skipping test"
17 test_done
18 fi
19}