projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8632ba6
)
Handle old versions of Test::More
author
Peter Eisentraut
<peter_e@gmx.net>
Thu, 11 Sep 2014 00:39:28 +0000
(20:39 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Thu, 11 Sep 2014 00:52:35 +0000
(20:52 -0400)
Really old versions of Test::More don't support subplans, so skip the
tests in that case.
src/test/perl/TestLib.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/test/perl/TestLib.pm
b/src/test/perl/TestLib.pm
index 899844baf73731eb647ab4a9a4200f50fe2ccbe7..545b2f3e502e41b262386c0b1d8ee99499524d44 100644
(file)
--- a/
src/test/perl/TestLib.pm
+++ b/
src/test/perl/TestLib.pm
@@
-36,7
+36,14
@@
BEGIN
} or do
{
plan skip_all => "IPC::Run not available";
- }
+ };
+
+ eval {
+ Test::More->VERSION('0.93_01');
+ } or do
+ {
+ plan skip_all => "version of Test::More is too old to support subplans";
+ };
}
# Set to untranslated messages, to be able to compare program output