Require version 0.98 of Test::More for TAP tests

This means that the subtest feature will be available for use.

We expect that this change will make prairiedog go red until it is
updated, but other buildfarm animals should be fine.

Discussion: https://postgr.es/m/f5e1d308-4e33-37a7-bdf1-f6e0c75119de@dunslane.net
This commit is contained in:
Andrew Dunstan 2021-11-20 17:54:43 -05:00
parent f4e7ae2b8a
commit 405f32fc49
No known key found for this signature in database
GPG Key ID: 99FA7FCB59FC3B81
3 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -19472,7 +19472,7 @@ fi
if test "x$PERL" != x; then
ax_perl_modules_failed=0
for ax_perl_module in 'IPC::Run 0.79' 'Test::More 0.87' 'Time::HiRes 1.52' ; do
for ax_perl_module in 'IPC::Run 0.79' 'Test::More 0.98' 'Time::HiRes 1.52' ; do
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl module $ax_perl_module" >&5
$as_echo_n "checking for perl module $ax_perl_module... " >&6; }

View File

@ -2386,7 +2386,7 @@ if test "$enable_tap_tests" = yes; then
# but some distros omit them in a minimal installation.
# The required minimum versions are all quite ancient now, but specify
# them anyway for documentation's sake.
AX_PROG_PERL_MODULES([IPC::Run=0.79 Test::More=0.87 Time::HiRes=1.52], ,
AX_PROG_PERL_MODULES([IPC::Run=0.79 Test::More=0.98 Time::HiRes=1.52], ,
[AC_MSG_ERROR([Additional Perl modules are required to run TAP tests])])
fi
# Now make sure we know where prove is

View File

@ -60,7 +60,7 @@ use PostgreSQL::Test::SimpleTee;
# specify a recent enough version of Test::More to support the
# done_testing() function
use Test::More 0.87;
use Test::More 0.98;
our @EXPORT = qw(
generate_ascii_string