From: Vincent Pit Date: Tue, 6 Aug 2013 03:31:13 +0000 (-0300) Subject: Get rid of t/99-kwalitee.t X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Frgit.git;a=commitdiff_plain;h=7c9e557f67731dc9ac344970ecc167cdcc348517 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 e729140..0148b16 100644 --- a/MANIFEST +++ b/MANIFEST @@ -25,7 +25,6 @@ t/21-once.t t/91-pod.t t/92-pod-coverage.t t/95-portability-files.t -t/99-kwalitee.t t/bin/git t/bin/git.bat t/lib/App/Rgit/Policy/Callback.pm diff --git a/t/99-kwalitee.t b/t/99-kwalitee.t deleted file mode 100644 index 185d4ce..0000000 --- a/t/99-kwalitee.t +++ /dev/null @@ -1,21 +0,0 @@ -#!perl - -use strict; -use warnings; - -use Test::More; - -eval { require Test::Kwalitee; }; -plan(skip_all => 'Test::Kwalitee not installed') if $@; - -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; - } -}