[igt-dev] [PATCH 4/6] scripts/code_cov_parse_info: Fix indentation at the output html file

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Oct 5 20:05:25 UTC 2022


Hi Mauro,

On 2022-09-22 at 10:46:16 +0200, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab at kernel.org>
> 
> The indentation is not relevant for the output, but it makes easier
> when debugging issues at the produced file. So, fix it.
--------------------------------------------- ^^^^^^^^^^
Please drop this from commit message,
rest looks good so

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

> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> ---
> 
> To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover.
> See [PATCH 0/6] at: https://lore.kernel.org/all/cover.1663836123.git.mchehab@kernel.org/
> 
>  scripts/code_cov_parse_info | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/scripts/code_cov_parse_info b/scripts/code_cov_parse_info
> index ef26192f2456..e8bac730e88b 100755
> --- a/scripts/code_cov_parse_info
> +++ b/scripts/code_cov_parse_info
> @@ -650,7 +650,7 @@ sub generate_report($)
>  	} else {
>  		print OUT "    <td>N. A.</td>\n";
>  	}
> -	print OUT "  <td>" . $stats{"func_count"} . "</td>";
> +	print OUT "    <td>" . $stats{"func_count"} . "</td>\n";
>  	print OUT "  </tr><tr>\n";
>  
>  	print OUT "    <td><b>Branches</b></td>\n";
> @@ -671,7 +671,7 @@ sub generate_report($)
>  	} else {
>  		print OUT "    <td>N. A.</td>\n";
>  	}
> -	print OUT "  <td>" . $stats{"branch_count"} . "</td>";
> +	print OUT "    <td>" . $stats{"branch_count"} . "</td>\n";
>  	print OUT "  </tr><tr>\n";
>  
>  	print OUT "    <td><b>Lines</b></td>\n";
> @@ -693,7 +693,7 @@ sub generate_report($)
>  	} else {
>  		print OUT "    <td>N. A.</td>\n";
>  	}
> -	print OUT "  <td>" . $stats{"line_count"} . "</td>";
> +	print OUT "    <td>" . $stats{"line_count"} . "</td>\n";
>  
>  	# If there are more than one tests per file, report them
>  	my $total = scalar(keys %test_names);
> -- 
> 2.37.2
> 


More information about the igt-dev mailing list