]> git.vpit.fr Git - perl/modules/Perl-Critic-Policy-Dynamic-NoIndirect.git/commitdiff
Get rid of t/99-kwalitee.t
authorVincent Pit <vince@profvince.com>
Tue, 6 Aug 2013 03:02:05 +0000 (00:02 -0300)
committerVincent Pit <vince@profvince.com>
Tue, 6 Aug 2013 03:02:05 +0000 (00:02 -0300)
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.

MANIFEST
t/99-kwalitee.t [deleted file]

index 550cd504be9a6036435af64cef650aa1ad6fbc6e..e7ad9e07cd0f1ba0cdb223a2aaa5ca91f2ae046b 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -11,4 +11,3 @@ t/10-basic.t
 t/91-pod.t
 t/92-pod-coverage.t
 t/95-portability-files.t
-t/99-kwalitee.t
diff --git a/t/99-kwalitee.t b/t/99-kwalitee.t
deleted file mode 100644 (file)
index 185d4ce..0000000
+++ /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;
- }
-}