diff options
Diffstat (limited to 't/Support')
-rw-r--r-- | t/Support/Files.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/Support/Files.pm b/t/Support/Files.pm index 24b58c982..1a8e6ee37 100644 --- a/t/Support/Files.pm +++ b/t/Support/Files.pm @@ -16,6 +16,14 @@ use File::Find; find(sub { push(@files, $File::Find::name) if $_ =~ /\.pm$/;}, 'Bugzilla'); push(@files, 'extensions/create.pl'); +my @extensions = glob('extensions/*'); +foreach my $extension (@extensions) { + # Skip disabled extensions + next if -e "$extension/disabled"; + + find(sub { push(@files, $File::Find::name) if $_ =~ /\.pm$/;}, $extension); +} + sub isTestingFile { my ($file) = @_; my $exclude; |