Skip to content

Commit 75717ce

Browse files
committed
Handle old versions of Test::More
Really old versions of Test::More don't support subplans, so skip the tests in that case.
1 parent 8632ba6 commit 75717ce

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/test/perl/TestLib.pm

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@ BEGIN
3636
} or do
3737
{
3838
plan skip_all => "IPC::Run not available";
39-
}
39+
};
40+
41+
eval {
42+
Test::More->VERSION('0.93_01');
43+
} or do
44+
{
45+
plan skip_all => "version of Test::More is too old to support subplans";
46+
};
4047
}
4148

4249
# Set to untranslated messages, to be able to compare program output

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy