| 1 | package Module::Build::FilterTests; | ||||||||||
| 2 | 1 | ▶ | use Module::Build; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | our @ISA = qw(Module::Build); | |||||||||
| 4 | |||||||||||
| 5 | 1 | ▶ | use File::Glob; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 1 | ▶ | use File::Spec::Functions; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | sub ACTION_disttest | ||||||||||
| 9 | { | ||||||||||
| 10 | 0 | ▶ | my $self = shift; | ||||||||
|
Subroutine
ACTION_disttest: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 11 | 0 | local $ENV{PERL_RUN_ALL_TESTS} = 1; | |||||||||
| 12 | 0 | $self->SUPER::ACTION_disttest( @_ ); | |||||||||
| 13 | } | ||||||||||
| 14 | |||||||||||
| 15 | sub find_test_files | ||||||||||
| 16 | { | ||||||||||
| 17 | 1 | ▶ | my $self = shift; | ||||||||
|
Subroutine
find_test_files: called CC=2 SCAR=9.2
Pod
undocumented
| |||||||||||
| 18 | 1 | my $tests = $self->SUPER::find_test_files( @_ ); | |||||||||
| 19 | |||||||||||
| 20 | 1 | ▶ | return $tests unless $ENV{PERL_RUN_ALL_TESTS}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 21 | |||||||||||
| 22 | 0 | my $test_pattern = catfile(qw( t developer *.t ) ); | |||||||||
| 23 | 0 | unshift @$tests, File::Glob::bsd_glob( $test_pattern ); | |||||||||
| 24 | 0 | return $tests; | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | 1 | 1; | |||||||||