Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit75717ce

Browse files
committed
Handle old versions of Test::More
Really old versions of Test::More don't support subplans, so skip thetests in that case.
1 parent8632ba6 commit75717ce

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
}ordo
3737
{
3838
planskip_all=>"IPC::Run not available";
39-
}
39+
};
40+
41+
eval {
42+
Test::More->VERSION('0.93_01');
43+
}ordo
44+
{
45+
planskip_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)

[8]ページ先頭

©2009-2025 Movatter.jp