From: Peter Rabbitson Date: Fri, 23 Dec 2011 14:43:56 +0000 (+0100) Subject: Skip failing cygwin test X-Git-Tag: v0.009013~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5f578bd39f14ac6d2703c76b6d65e11a0f12a3c0;p=gitmo%2FMoo.git Skip failing cygwin test --- diff --git a/Changes b/Changes index 47fed69..9973536 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ - fix up Class::XSAccessor version check to be more robust - improved documentation - fix failures on perls < 5.8.3 + - fix test failures on cygwin 0.009012 - 2011-11-15 - make Method::Generate::Constructor handle $obj->new diff --git a/t/accessor-weaken.t b/t/accessor-weaken.t index 3b99264..d390c27 100644 --- a/t/accessor-weaken.t +++ b/t/accessor-weaken.t @@ -26,6 +26,9 @@ if ($] < 5.008003) { 'Expected exception thrown on old perls' ); } +elsif ($^O eq 'cygwin' and $] < 5.012000) { + SKIP: { skip 'Static coderef reaping seems nonfunctional on cygwin < 5.12', 1 } +} else { is(${$foo_ro->one},'yay', 'value present'); ok(Scalar::Util::isweak($foo_ro->{one}), 'value weakened');