From 0bf217c8f82bb65cfabb879a7410a653e7b39934 Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Mon, 28 Oct 2013 14:46:54 +0000 Subject: [PATCH] Bug 930870: With Pod::Coverage 0.23, t/011pod.t fails if a module is not installed r/a=glob git-svn-id: svn://10.0.0.236/trunk@265084 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/t/011pod.t | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 32cdb4700b8..51641c00412 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8790 \ No newline at end of file +8791 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/t/011pod.t b/mozilla/webtools/bugzilla/t/011pod.t index 7709ade16d9..37cd2da37ec 100644 --- a/mozilla/webtools/bugzilla/t/011pod.t +++ b/mozilla/webtools/bugzilla/t/011pod.t @@ -104,9 +104,9 @@ foreach my $file (@module_files) { ". Undocumented methods: " . join(', ', $cover->uncovered)); } } - # This error is thrown when the module couldn't be loaded due to + # These errors are thrown when the module couldn't be loaded due to # a missing dependency. - elsif ($reason eq "no public symbols defined") { + elsif ($reason =~ /^(?:no public symbols defined|requiring '[^']+' failed)$/) { ok(1, "$file cannot be loaded"); } elsif ($reason eq "couldn't find pod") {