[PATCH 01/17] scripts/code_cov_parse_info: Silent some messages by default
Kamil Konieczny
kamil.konieczny at linux.intel.com
Thu Feb 15 16:24:10 UTC 2024
Hi Mauro,
On 2024-02-15 at 11:27:10 +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.43.0
>
More information about the igt-dev
mailing list