Skip to content

Commit

Permalink
skip test when Class::C3::XS is needed (RT#113704)
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed Apr 12, 2016
1 parent 3b9d9dc commit 7108fd5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ for, noteworthy changes.

{{$NEXT}}

[TESTS]

- skip dysfunctional test on perl 5.8.x when Class::C3::XS is not installed
(RT#113704)

2.1702 2016-04-08 (TRIAL RELEASE)

[DOCUMENTATION]
Expand Down
6 changes: 6 additions & 0 deletions t/cmop/methods.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ use warnings;
use Test::More;
use Test::Fatal;

BEGIN {
# see RT#113704
plan skip_all => 'Need Class::C3::XS, at least for these tests, when mro is not available'
if $] < '5.010' and not eval { require Class::C3::XS; 1 };
}

use Scalar::Util qw/reftype/;
use Sub::Name;

Expand Down

0 comments on commit 7108fd5

Please sign in to comment.