| 1 | package MyModuleBuilder; | ||||||||||
| 2 | 1 | ▶ | use Module::Build; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | our @ISA = qw(Module::Build); | |||||||||
| 4 | |||||||||||
| 5 | # Override 'test' to support running extended tests in the xt/ | ||||||||||
| 6 | # directory. | ||||||||||
| 7 | sub ACTION_test | ||||||||||
| 8 | { | ||||||||||
| 9 | 1 | ▶ | my ( $self ) = @_; | ||||||||
|
Subroutine
ACTION_test: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||
| 10 | |||||||||||
| 11 | 1 | $self->recursive_test_files(1); | |||||||||
| 12 | |||||||||||
| 13 | $self->test_files( 't', 'xt' ) | ||||||||||
| 14 | 1 | ▶ | if $ENV{'RELEASE_TESTING'}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | |||||||||||
| 16 | 1 | return $self->SUPER::ACTION_test(); | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | # Force running extended tests when testing the distribution. | ||||||||||
| 20 | sub ACTION_disttest | ||||||||||
| 21 | { | ||||||||||
| 22 | 0 | ▶ | my ( $self ) = @_; | ||||||||
|
Subroutine
ACTION_disttest: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 23 | |||||||||||
| 24 | 0 | local $ENV{ RELEASE_TESTING } = 1; | |||||||||
| 25 | |||||||||||
| 26 | 0 | return $self->SUPER::ACTION_disttest(); | |||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | 1 | 1; | |||||||||