From: Vincent Pit Date: Tue, 6 Aug 2013 03:28:58 +0000 (-0300) Subject: Get rid of t/99-kwalitee.t X-Git-Tag: rt88428~6 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=commitdiff_plain;h=54f01dc1c0f98219c0c79ebbe5d4ea206ba58b28 Get rid of t/99-kwalitee.t New versions started to throw warnings if specific environment variables are not set. This may be appropriate for dist manager users, but not really for the rest of the world. Since kwalitee metrics are either obvious or useless, there's no big loss in removing this test anyway. --- diff --git a/MANIFEST b/MANIFEST index a2a49ed..eac0471 100644 --- a/MANIFEST +++ b/MANIFEST @@ -32,7 +32,6 @@ t/91-pod.t t/92-pod-coverage.t t/93-pod-spelling.t t/95-portability-files.t -t/99-kwalitee.t t/lib/Test/Leaner.pm t/lib/VPIT/TestHelpers.pm t/lib/indirect/Test0/Fffff/Vvvvvvv.pm diff --git a/t/99-kwalitee.t b/t/99-kwalitee.t deleted file mode 100644 index 337d917..0000000 --- a/t/99-kwalitee.t +++ /dev/null @@ -1,29 +0,0 @@ -#!perl - -use strict; -use warnings; - -use Test::More; - -use lib 't/lib'; -use VPIT::TestHelpers; - -my $guard = VPIT::TestHelpers::Guard->new( - sub { unlink for glob 'Debian_CPANTS.txt*' } -); - -load_or_skip_all('Parse::RecDescent', '1.967006'); -load_or_skip_all('Module::ExtractUse', '0.24' ); -load_or_skip_all('Test::Kwalitee', '1.01' ); - -SKIP: { - eval { Test::Kwalitee->import(); }; - if (my $err = $@) { - 1 while chomp $err; - require Test::Builder; - my $Test = Test::Builder->new; - my $plan = $Test->has_plan; - $Test->skip_all($err) if not defined $plan or $plan eq 'no_plan'; - skip $err => $plan - $Test->current_test; - } -}