[...]
Would this do? :
diff --git a/winetest/gather b/winetest/gather index 294ad06..fdacff5 100755 --- a/winetest/gather +++ b/winetest/gather @@ -362,7 +362,7 @@ EOF "pass"; my $count=!$report->{todos} ? $report->{errors} : !$report->{errors} ? $report->{todos} :
"$group->{errors}+$group->{todos}";
"$report->{errors}+$report->{todos}"; my $prcnt=!$report->{todos} ? percent($report->{errors}, $unit_count)
: !$report->{errors} ? percent($report->{todos}, $unit_count) :
Yes, this patch is correct. Please, submit it to wine-patches.