From: Peter Rabbitson Date: Thu, 22 Dec 2011 09:29:40 +0000 (+0100) Subject: Do not rerun PP tests twice if the envvar is set X-Git-Tag: 0.22~8 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2Fnamespace-clean.git;a=commitdiff_plain;h=37f19e68b0c9564adad83d33ee558f8dbac654ed Do not rerun PP tests twice if the envvar is set --- diff --git a/t/10-pure-perl.t b/t/10-pure-perl.t index d77551e..0ba946b 100644 --- a/t/10-pure-perl.t +++ b/t/10-pure-perl.t @@ -2,6 +2,9 @@ use strict; use warnings; use Test::More; +plan skip_all => "PP tests already executed" + if $ENV{NAMESPACE_CLEAN_USE_PP}; + eval { require B::Hooks::EndOfScope } or plan skip_all => "PP tests already executed";