From 0e68998f22b847d90753daac3808bedc4500cde6 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 30 Apr 2015 17:10:08 +0200 Subject: Bug 1158563: makedocs.pl is unable to load File::Copy::Recursive installed in bugzilla/lib/ r=dkl a=glob --- t/011pod.t | 1 + t/Support/Files.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/011pod.t b/t/011pod.t index 71294dfe6..9c092eeb1 100644 --- a/t/011pod.t +++ b/t/011pod.t @@ -49,6 +49,7 @@ use constant MODULE_WHITELIST => qw( Bugzilla::Extension:: Bugzilla::Job:: Bugzilla::Migrate:: + docs::lib::Pod::Simple:: ); # Capture the TESTOUT from Test::More or Test::Builder for printing errors. diff --git a/t/Support/Files.pm b/t/Support/Files.pm index 85fa9f583..f3fae58fc 100644 --- a/t/Support/Files.pm +++ b/t/Support/Files.pm @@ -17,8 +17,8 @@ use File::Find; our @additional_files = (); our @files = glob('*'); -find(sub { push(@files, $File::Find::name) if $_ =~ /\.pm$/;}, 'Bugzilla'); -push(@files, 'extensions/create.pl'); +find(sub { push(@files, $File::Find::name) if $_ =~ /\.pm$/;}, qw(Bugzilla docs)); +push(@files, 'extensions/create.pl', 'docs/makedocs.pl'); our @extensions = grep { $_ ne 'extensions/create.pl' && ! -e "$_/disabled" } -- cgit v1.2.3-24-g4f1b