summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-10-10 13:56:08 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2024-02-15 21:04:46 +0100
commit24a581324e8520f57902b21dea6bfdafef080c78 (patch)
treedc5e643e2989d773e3c8531ea58a5f5653ccea9e /scripts
parent9ee96f431b2baf552e95c9d839cdfbcdae2c8b41 (diff)
scripts/code_cov_parse_info: Silent some messages by default
Those aren't really needed on normal output. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/code_cov_parse_info2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code_cov_parse_info b/scripts/code_cov_parse_info
index 72a1e8c2b..1498bd09c 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) {