Skip to content
Snippets Groups Projects
Commit 75717ce8 authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

Handle old versions of Test::More

Really old versions of Test::More don't support subplans, so skip the
tests in that case.
parent 8632ba6d
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,14 @@ BEGIN ...@@ -36,7 +36,14 @@ BEGIN
} or do } or do
{ {
plan skip_all => "IPC::Run not available"; 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 # Set to untranslated messages, to be able to compare program output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment