summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-09-26 21:14:16 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-09-26 21:14:16 +0200
commit0bb48df63d01216e295140adb3642333c0767c67 (patch)
treec21690beb3ce86b677cc42ce5e185f17df05a6f5
parentc3a8600e1d8f4e8ec56ce3b20680a07770a822a3 (diff)
downloadbugzilla-0bb48df63d01216e295140adb3642333c0767c67.tar.gz
bugzilla-0bb48df63d01216e295140adb3642333c0767c67.tar.xz
Bug 784072 (2nd part): Exclude extensions from POD coverage checks
-rw-r--r--t/011pod.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/011pod.t b/t/011pod.t
index d4e0fb780..7709ade16 100644
--- a/t/011pod.t
+++ b/t/011pod.t
@@ -43,6 +43,7 @@ use constant MODULE_WHITELIST => qw(
Bugzilla::Auth::Verify::
Bugzilla::BugUrl::
Bugzilla::Config::
+ Bugzilla::Extension::
Bugzilla::Job::
);
@@ -82,6 +83,7 @@ foreach my $file (@module_files) {
my $module = $file;
$module =~ s/\.pm$//;
$module =~ s#/#::#g;
+ $module =~ s/^extensions/Bugzilla::Extension/;
my @whitelist = (DEFAULT_WHITELIST);
push(@whitelist, $sub_whitelist{$module}) if $sub_whitelist{$module};