12 (my $success, my $err_code, undef, undef, my $stderr)
21 plan skip_all => "Couldn't capture buffers" if $success and not defined $stderr;
22 plan tests => $total + 1;
24 $stderr = join '', @$stderr;
27 diag "Failed to execute data file (error $err_code)";
28 fail "Couldn't run test $_" for 1 .. $total + 1;
34 while ($stderr =~ /^Indirect\s+call\s+of\s+method\s+"([^"]+)"\s+on\s+object\s+"([^"]+)"/mg) {
35 my ($m, $o) = ($1, $2);
37 if ($m =~ /^(?:new|potato)(\d+)$/) {
39 } elsif ($o =~ /^Hlagh(\d+)$/) {
46 fail("test $id shouldn't have failed");
51 pass("test $_ hasn't failed") for grep { !$fail{$_} } 1 .. $total;
52 is($extra_fail, 0, 'no extra fails');