r53050 - /trunk/dh-make-perl/t/pod-coverage.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Feb 19 09:38:43 UTC 2010


Author: dmn
Date: Fri Feb 19 09:38:30 2010
New Revision: 53050

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53050
Log:
enable POD coverage tests. DhMakePerl is still skipped.

Modified:
    trunk/dh-make-perl/t/pod-coverage.t

Modified: trunk/dh-make-perl/t/pod-coverage.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/pod-coverage.t?rev=53050&op=diff
==============================================================================
--- trunk/dh-make-perl/t/pod-coverage.t (original)
+++ trunk/dh-make-perl/t/pod-coverage.t Fri Feb 19 09:38:30 2010
@@ -14,7 +14,15 @@
 eval "use Pod::Coverage $min_pc";
 plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
     if $@;
-plan skip_all => "POD coverage is not full. set TEST_POD_COVERAGE if you want to see what is missing."
-    unless $ENV{TEST_POD_COVERAGE};
 
-all_pod_coverage_ok( { coverage_class => 'Pod::Coverage::CountParents' } );
+my @modules = all_modules();
+
+plan tests => scalar(@modules);
+
+for (@modules) {
+SKIP: {
+        skip "DhModPerl is not entirely documented", 1, if $_ eq 'DhMakePerl';
+        pod_coverage_ok( $_,
+            { coverage_class => 'Pod::Coverage::CountParents' } );
+    }
+}




More information about the Pkg-perl-cvs-commits mailing list