| 1 | # Copyright (c) 2022 Ævar Arnfjörð Bjarmason |
| 2 | |
| 3 | test_lazy_prereq PERL_TEST_MORE ' |
| 4 | perl -MTest::More -e 0 |
| 5 | ' |
| 6 | |
| 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 |
| 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 | } |