interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / lib-perl.sh

19 lines · 372 bytes Raw Blame History
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}