From 1f30fac936a3b0905e736dd86e559e33caf036ac Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 10 Aug 2011 18:26:03 -0400 Subject: Initial checkin of bmo/4.0 extensions. Still todo: port changes to core Bugzilla code --- t/Support/Files.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 't/Support') diff --git a/t/Support/Files.pm b/t/Support/Files.pm index 6c6e0ee57..31a0058db 100644 --- a/t/Support/Files.pm +++ b/t/Support/Files.pm @@ -23,12 +23,15 @@ package Support::Files; +use Bugzilla; + use File::Find; @additional_files = (); @files = glob('*'); -find(sub { push(@files, $File::Find::name) if $_ =~ /\.pm$/;}, 'Bugzilla'); +my @extension_paths = map { $_->package_dir } @{ Bugzilla->extensions }; +find(sub { push(@files, $File::Find::name) if $_ =~ /\.pm$/;}, 'Bugzilla', @extension_paths); push(@files, 'extensions/create.pl'); sub isTestingFile { -- cgit v1.2.3-24-g4f1b