PR #1 opened by Kacper Michajłow (kasper93) URL: https://code.ffmpeg.org/FFmpeg/fateserver/pulls/1 Patch URL: https://code.ffmpeg.org/FFmpeg/fateserver/pulls/1.patch
During the test run, some files are still built, and their warnings should be counted. Note that if a compile-only run is done, test.log will not exist. This is fine, as grep errors are ignored and only matches are counted with wc. From 86d0870c9ffc71f39fa94ac75472b25f90c4222f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= <[email protected]> Date: Mon, 29 Sep 2025 05:41:05 +0200 Subject: [PATCH] fate-recv.sh: count warnings in test.log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit During the test run, some files are still built, and their warnings should be counted. Note that if a compile-only run is done, test.log will not exist. This is fine, as grep errors are ignored and only matches are counted with wc. Signed-off-by: Kacper Michajłow <[email protected]> --- 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.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
