Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions case-lib/hijack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@ function func_exit_handler()
dloge "Empty logfile"
exit_status=1
fi

# We still have some false positives in stable-v2.2 for now, see
# https://github.com/thesofproject/sof-test/pull/1075
# https://github.com/thesofproject/sof/pull/9036
# etc.
if is_firmware_file_zephyr; then

check_error_in_fw_logfile "$logfile" ||
exit_status=1

fi

else
dloge "Log file not found: $logfile"
exit_status=1
Expand Down
5 changes: 4 additions & 1 deletion case-lib/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,10 @@ check_error_in_fw_logfile()
if (set -x
grep -B 2 -A 1 -i --word-regexp -e 'ERR' -e 'ERROR' -e '<err>' "$1"
); then
return 1
# See internal Intel bug #448
dlogw 'An HTML display bug hides the bracketed Zephyr &lt;loglevels&gt; in this tab,'
dlogw 'switch to the tab with the complete logs to see the log levels.'
return 1
fi
}

Expand Down