Lines Matching refs:max
245 return $tot->{bad} == 0 && ($tot->{max} || $tot->{skipped}) ? 1 : 0;
325 max => 0,
377 max => $results{max},
387 $tot{max} += $results{max};
396 if ($test{max} and $test{skipped} + $test{bonus}) {
404 elsif ( $test{max} ) {
419 if ($test{'next'} <= $test{max}) {
420 push @{$test{failed}}, $test{'next'}..$test{max};
425 foreach my $overrun ($test{max}+1..@$details) {
437 if (@{$test{failed}} and $test{max}) {
438 my ($txt, $canon) = _canonfailed($test{max},$test{skipped},
442 max => $test{max},
445 percent => 100*(scalar @{$test{failed}})/$test{max},
454 max => $test{max},
468 max => '??',
564 elsif (!$tot->{max}) {
571 my $percent_ok = 100*$tot->{ok}/$tot->{max};
573 $tot->{max} - $tot->{ok}, $tot->{max},
592 $tot->{files}, $tot->{max}, timestr($tot->{bench}, 'nop'));
621 $totals->{max} < $totals->{seen};
629 my $max = $totals->{max};
633 _print_ml_less("ok $curr/$max");
716 if ($test->{max}) {
717 if ($test->{'next'} == $test->{max} + 1 and not @{$test->{failed}}) {
723 push @{$test->{failed}}, $test->{'next'}..$test->{max};
725 (my $txt, $canon) = _canonfailed($test->{max},$test->{skipped},@{$test->{failed}});
726 $percent = 100*(scalar @{$test->{failed}})/$test->{max};
731 return { canon => $canon, max => $test->{max} || '??',
793 my($max,$skipped,@failed) = @_;
819 push @result, "\tFailed $failed/$max tests, ";
820 if ($max) {
821 push @result, sprintf("%.2f",100*(1-$failed/$max)), "% okay";
828 my $good = $max - $failed - $skipped;
830 if ($max) {
831 my $goodper = sprintf("%.2f",100*($good/$max));