mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
run: detect QEMU panics by log parsing
Add correct error messages to kernel v4.17 gem5 boot failures
This commit is contained in:
6
run
6
run
@@ -399,3 +399,9 @@ if [ -z "$debug_vm" ]; then
|
||||
"
|
||||
fi
|
||||
"${common_root_dir}/eeval" "$cmd" "${common_run_dir}/run.sh"
|
||||
if ! "$common_gem5"; then
|
||||
if grep 'Kernel panic - not syncing' "$common_termout_file"; then
|
||||
echo 'Kernel panic detected by parsing the terminal output. Exiting with status 1.'
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user