[Tools 5/6] winetest: Add statistics for the number of unit tests with errors or todos.

Francois Gouget fgouget at free.fr
Fri Mar 28 09:06:35 CDT 2008


[...]
> 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.


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
           Cahn's Axiom: When all else fails, read the instructions.



More information about the wine-devel mailing list