Sync with 'maint'
[alt-git.git] / t / lib-perl.sh
blobd0bf509a167d1b3918a9101aea500c319fa9f156
1 # Copyright (c) 2022 Ævar Arnfjörð Bjarmason
3 test_lazy_prereq PERL_TEST_MORE '
4 perl -MTest::More -e 0
7 skip_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
14 if ! test_have_prereq PERL_TEST_MORE
15 then
16 skip_all="Perl Test::More unavailable, skipping test"
17 test_done