Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Kacper Michajłow via ffmpeg-devel" <ffmpeg-devel@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: "Kacper Michajłow" <kasper93@gmail.com>
Subject: [FFmpeg-devel] [PATCH] fate-recv.sh: count warnings also in test.log
Date: Mon, 29 Sep 2025 05:43:16 +0200
Message-ID: <20250929034339.370187-1-kasper93@gmail.com> (raw)

During test run some files are still build, which should have thier
warnings counted.

Note that if compile only run is done, test.log won't exist. This is
fine as grep errors are ignored and only matches are counted with wc.

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
---
 fate-recv.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fate-recv.sh b/fate-recv.sh
index f0a4d5b..668f490 100755
--- a/fate-recv.sh
+++ b/fate-recv.sh
@@ -105,7 +105,7 @@ fi
 
 unset IFS
 
-nwarn=$(grep -Eci '\<warning\>' compile.log) || nwarn=0
+nwarn=$(grep -Ei '\<warning\>' compile.log test.log 2>/dev/null | wc -l)
 
 echo "stats:$ntest:$npass:$nwarn" >>summary
 
-- 
2.50.1

_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

                 reply	other threads:[~2025-09-29  3:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250929034339.370187-1-kasper93@gmail.com \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=kasper93@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ http://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git