Skip to content

Commit d10020d

Browse files
marc-hbfredoh9
authored andcommitted
hijack.sh: fail when an error is found in Zephyr firmware logs
At last. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
1 parent 5b38b40 commit d10020d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

case-lib/hijack.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,18 @@ function func_exit_handler()
110110
dloge "Empty logfile"
111111
exit_status=1
112112
fi
113+
114+
# We still have some false positives in stable-v2.2 for now, see
115+
# https://github.com/thesofproject/sof-test/pull/1075
116+
# https://github.com/thesofproject/sof/pull/9036
117+
# etc.
118+
if is_firmware_file_zephyr; then
119+
120+
check_error_in_fw_logfile "$logfile" ||
121+
exit_status=1
122+
123+
fi
124+
113125
else
114126
dloge "Log file not found: $logfile"
115127
exit_status=1

0 commit comments

Comments
 (0)