From: Vincent Pit Date: Sun, 19 Feb 2012 13:09:03 +0000 (+0100) Subject: Require Module::ExtractUse 0.24 for the Kwalitee test X-Git-Tag: v0.12~7 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=4a6e1fa8c323784a7fd42fb6c69201960dbacfcf;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Require Module::ExtractUse 0.24 for the Kwalitee test --- diff --git a/t/99-kwalitee.t b/t/99-kwalitee.t index 185d4ce..4a66457 100644 --- a/t/99-kwalitee.t +++ b/t/99-kwalitee.t @@ -5,8 +5,14 @@ use warnings; use Test::More; -eval { require Test::Kwalitee; }; -plan(skip_all => 'Test::Kwalitee not installed') if $@; +eval { require Parse::RecDescent; 'Parse::RecDescent'->VERSION('1.967006') } + or plan skip_all => 'Parse::RecDescent version 1.967006 or greater required'; + +eval { require Module::ExtractUse; 'Module::ExtractUse'->VERSION('0.24') } + or plan skip_all => 'Module::ExtractUse version 0.24 or greater required'; + +eval { require Test::Kwalitee; 1 } + or plan skip_all => 'Test::Kwalitee required'; SKIP: { eval { Test::Kwalitee->import(); };