mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
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:
parent
f4e7ae2b8a
commit
405f32fc49
2
configure
vendored
2
configure
vendored
@ -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; }
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user