1
0
mirror of https://github.com/squid-cache/squid.git synced 2025-04-18 22:04:07 +03:00

CI: Do not classify "no failures" stats as test-build errors (#2001)

CppUnit tests emit a lot of "FAIL: 0" and "XFAIL: 0" lines, which are
incorrectly classified as errors by the test-builds.sh. Filter these
messages out as they are not indicative of problems.
This commit is contained in:
Francesco Chemolli 2025-02-24 19:01:52 +00:00 committed by Squid Anubis
parent 4ae7430eff
commit 0c90595b9d

View File

@ -123,7 +123,8 @@ buildtest() {
grep -E "BUILD" ${log}
errors="^ERROR|[ ]error:|[ ]Error[ ]|No[ ]such|assertion[ ]failed|FAIL:|:[ ]undefined"
grep -E "${errors}" ${log}
noterrors=" X?FAIL: ?0$"
grep -E "${errors}" ${log} | grep -v -E "${noterrors}"
if test $result -eq 0; then
# successful execution