[igt-dev] [PATCH i-g-t 01/12] code_cov_parse_info: silent some messages by default

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Jan 25 10:42:09 UTC 2023


On 2023-01-17 at 15:05:56 +0100, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> Those aren't really needed on normal output.
> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
>  scripts/code_cov_parse_info | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/code_cov_parse_info b/scripts/code_cov_parse_info
> index 72a1e8c2b0ad..1498bd09cdba 100755
> --- a/scripts/code_cov_parse_info
> +++ b/scripts/code_cov_parse_info
> @@ -1030,7 +1030,7 @@ if ($has_filter) {
>  }
>  
>  my $ntests=scalar(%test_names);
> -printf "Number of tests: %d\n", $ntests if ($ntests > 1);
> +printf "Number of tests: %d\n", $ntests if ($stat && $ntests > 1);
>  
>  if ($show_files) {
>  	for my $f(sort keys %used_source) {
> -- 
> 2.39.0
> 


More information about the igt-dev mailing list