mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 12:36:52 +02:00
Handle old versions of Test::More
Really old versions of Test::More don't support subplans, so skip the tests in that case.
This commit is contained in:
parent
e7903163ff
commit
958a828fea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user