11 use Test::More tests => $total + 1;
15 (my $success, my $err_code, undef, undef, my $stderr)
23 $stderr = join '', @$stderr;
26 diag "Failed to execute data file (error $err_code)";
27 fail "Couldn't run test $_" for 1 .. $total + 1;
33 while ($stderr =~ /^Indirect\s+call\s+of\s+method\s+"([^"]+)"\s+on\s+object\s+"([^"]+)"/mg) {
34 my ($m, $o) = ($1, $2);
36 if ($m =~ /^(?:new|potato)(\d+)$/) {
38 } elsif ($o =~ /^Hlagh(\d+)$/) {
45 fail("test $id shouldn't have failed");
50 pass("test $_ hasn't failed") for grep { !$fail{$_} } 1 .. $total;
51 is($extra_fail, 0, 'no extra fails');