gem5: test out panic_on_panic

patches: create patche/manual patch dir, put all patch directories under
patches/ subdir
This commit is contained in:
Ciro Santilli
2018-08-11 14:14:57 +01:00
parent fbbfe98bfd
commit 539b176e1d
11 changed files with 68 additions and 34 deletions

8
run
View File

@@ -389,9 +389,7 @@ ${extra_flags}\
"
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
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