mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
run: dont check for panic if executable failed
This commit is contained in:
4
run
4
run
@@ -382,6 +382,9 @@ if [ -z "$debug_vm" ]; then
|
|||||||
fi
|
fi
|
||||||
"${common_root_dir}/eeval" "$cmd" "${common_run_dir}/run.sh"
|
"${common_root_dir}/eeval" "$cmd" "${common_run_dir}/run.sh"
|
||||||
cmd_out=$?
|
cmd_out=$?
|
||||||
|
if [ "$cmd_out" -ne 0 ]; then
|
||||||
|
exit "$cmd_out"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check if guest panicked.
|
# Check if guest panicked.
|
||||||
if "$common_gem5"; then
|
if "$common_gem5"; then
|
||||||
@@ -396,4 +399,3 @@ if grep -E -e "$panic_msg" -q "$common_termout_file"; then
|
|||||||
echo 'Simulation error detected by parsing logs. Exiting with status 1.'
|
echo 'Simulation error detected by parsing logs. Exiting with status 1.'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
exit "$cmd_out"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user