5
my $class = Module::Build->subclass(
6
class => 'Module::Build::FilterTests',
10
use File::Spec::Functions;
15
local $ENV{PERL_RUN_ALL_TESTS} = 1;
16
$self->SUPER::ACTION_disttest( @_ );
22
my $tests = $self->SUPER::find_test_files( @_ );
24
return $tests unless $ENV{PERL_RUN_ALL_TESTS};
26
my $test_pattern = catfile(qw( t developer *.t ) );
27
push @$tests, File::Glob::bsd_glob( $test_pattern );
33
my $build = $class->new(
35
module_name => 'Text::WikiFormat',
39
'Scalar::Util' => '1.14',
43
'Test::More' => '0.30',
45
create_makefile_pl => 'traditional',
49
$build->create_build_script();