3 # Test important dependant modules so we don't accidentally half of CPAN.
11 plan skip_all => "Dependents only tested when releasing" unless $ENV{PERL_RELEASING};
17 CPAN::HandleConfig->load;
18 $CPAN::Config->{test_report} = 0;
20 # Module which depend on Test::More to test
31 # Modules which are known to be broken
32 my %Broken = map { $_ => 1 } qw(
35 TODO: for my $name (@ARGV ? @ARGV : @Modules) {
36 local $TODO = "$name known to be broken" if $Broken{$name};
38 local $ENV{PERL5LIB} = "$ENV{PERL5LIB}:" . File::Spec->rel2abs("blib/lib");
39 my $module = CPAN::Shell->expand("Module", $name);
41 ok( !$module->distribution->{make_test}->failed, $name );