[PATCH 01/17] scripts/code_cov_parse_info: Silent some messages by default
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Thu Feb 15 10:27:10 UTC 2024
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>
---
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