]> granicus.if.org Git - postgresql/commitdiff
Require sufficiently modern version of Test::More for TAP tests
authorAndrew Dunstan <andrew@dunslane.net>
Sat, 22 Apr 2017 14:04:01 +0000 (10:04 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Sat, 22 Apr 2017 14:04:01 +0000 (10:04 -0400)
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.

src/test/perl/TestLib.pm

index ae8d1782da766bab24d5d4c573088918cf87b053..da65c9287ae361e26a8936c313c609ba05a14a9c 100644 (file)
@@ -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