Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] fate-recv.sh: count warnings also in test.log
@ 2025-09-29  3:43 Kacper Michajłow via ffmpeg-devel
  0 siblings, 0 replies; only message in thread
From: Kacper Michajłow via ffmpeg-devel @ 2025-09-29  3:43 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Kacper Michajłow

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-29  3:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-29  3:43 [FFmpeg-devel] [PATCH] fate-recv.sh: count warnings also in test.log Kacper Michajłow via ffmpeg-devel

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