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

Commit17009fb

Browse files
committed
Fix TAP tests with Perl 5.12
Perl 5.12 ships with a somewhat broken version of Test::Simple, so skipthe tests if that is found.The relevant fix is 0.98 Wed, 23 Feb 2011 14:38:02 +1100 Bug Fixes * subtest() should not fail if $? is non-zero. (Aaron Crane)
1 parent5c3d830 commit17009fb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/test/perl/TestLib.pm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ BEGIN
4444
{
4545
planskip_all=>"version of Test::More is too old to support subplans";
4646
};
47+
48+
eval {
49+
require Test::Simple;
50+
Test::Simple->VERSION('0.98');
51+
}ordo
52+
{
53+
planskip_all=>"version of Test::Simple is too old to support subplans properly";
54+
};
4755
}
4856

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp