summaryrefslogtreecommitdiff
path: root/src/test/perl/TestLib.pm
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2017-04-22 10:04:01 -0400
committerAndrew Dunstan <andrew@dunslane.net>2017-04-22 10:04:01 -0400
commitf92562adbaa614cf185dc170417b9c2c238573b8 (patch)
treeb7f4b35b9170a467b41d8a23d50396a47947bcbe /src/test/perl/TestLib.pm
parent5041cdf2b79216b10ca90498d9a9b8fd4abf1745 (diff)
downloadpostgresql-f92562adbaa614cf185dc170417b9c2c238573b8.tar.gz
Require sufficiently modern version of Test::More for TAP tests
Ancient versions of Test::More don't support the note() function used in some TAP tests, so we require the minimum version of the module that does.
Diffstat (limited to 'src/test/perl/TestLib.pm')
-rw-r--r--src/test/perl/TestLib.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/perl/TestLib.pm b/src/test/perl/TestLib.pm
index ae8d1782da..da65c9287a 100644
--- a/src/test/perl/TestLib.pm
+++ b/src/test/perl/TestLib.pm
@@ -17,7 +17,8 @@ use File::Spec;
use File::Temp ();
use IPC::Run;
use SimpleTee;
-use Test::More;
+# specify a recent enough version of Test::More to support the note() function
+use Test::More 0.82;
our @EXPORT = qw(
generate_ascii_string