Require version 0.98 of Test::More for TAP tests
authorAndrew Dunstan <[email protected]>
Sat, 20 Nov 2021 22:54:43 +0000 (17:54 -0500)
committerAndrew Dunstan <[email protected]>
Sat, 20 Nov 2021 22:54:43 +0000 (17:54 -0500)
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

configure
configure.ac
src/test/perl/PostgreSQL/Test/Utils.pm

index 682154959e739b270a0fcb216f3ef71105fcb531..977b4d3df565cc3496d799ad6feb8d177c327036 100755 (executable)
--- 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; }
 
index 260bb842af1a39e8471a61ca5cb05051b326c809..95e5169c4f9ef4c817e43e4d5b9594c027137ea5 100644 (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
index f29d43f1f3215b96496e4adde309d1d490a244c6..5a7f8bcb9745b27e4f16d2af625546a204101cf9 100644 (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