summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2021-11-20 22:54:43 +0000
committerAndrew Dunstan2021-11-20 22:54:43 +0000
commit405f32fc49609eb94fa39e7b5e7c1fe2bb2b73aa (patch)
treed28da75c8fb3e9576ec9ced67cdb81b359177d88
parentf4e7ae2b8a67ad6801726553a024a3306716ef80 (diff)
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
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
-rw-r--r--src/test/perl/PostgreSQL/Test/Utils.pm2
3 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 682154959e7..977b4d3df56 100755
--- a/configure
+++ b/configure
@@ -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; }
diff --git a/configure.ac b/configure.ac
index 260bb842af1..95e5169c4f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/src/test/perl/PostgreSQL/Test/Utils.pm b/src/test/perl/PostgreSQL/Test/Utils.pm
index f29d43f1f32..5a7f8bcb974 100644
--- a/src/test/perl/PostgreSQL/Test/Utils.pm
+++ b/src/test/perl/PostgreSQL/Test/Utils.pm
@@ -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