Skip to content

Commit

Permalink
Test::Presenter always stops with a signal 15. Skip it.
Browse files Browse the repository at this point in the history
A better fix might be a signal handler?
  • Loading branch information
schwern committed Oct 30, 2012
1 parent 07ca160 commit ebbfadf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dist/test_dists
Expand Up @@ -11,6 +11,8 @@ use Test::More;
CPAN::HandleConfig->load;
$CPAN::Config->{test_report} = 0;

my %skip_dists = map { chomp; $_ => 1 } <DATA>;

sub get_distributions {
my $match = shift;
return map { $_->pretty_id } CPAN::Shell->expand("Distribution", $match);
Expand All @@ -25,6 +27,8 @@ for my $dist (@dist_list->shuffle) {
$mod_name =~ s{-[^-]+$}{};
$mod_name =~ s{-}{::}g;

next if $skip_dists{$mod_name};

note $mod_name;

my @results;
Expand Down Expand Up @@ -54,3 +58,6 @@ done_testing;

note "Failed distributions";
note "$_" for @failed_dists;

__DATA__
Test::Presenter

0 comments on commit ebbfadf

Please sign in to comment.