Skip to content

Commit

Permalink
hijack.sh: fail when an error is found in Zephyr firmware logs
Browse files Browse the repository at this point in the history
At last.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and fredoh9 committed Apr 23, 2024
1 parent 5b38b40 commit d10020d
Showing 1 changed file with 12 additions and 0 deletions.
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

0 comments on commit d10020d

Please sign in to comment.