Read about our upcoming Code of Conduct on this issue

Commit 916c0cfa authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU: fix timeout in ImgPowDet emulation

(there were nondeterministic errors in the FRSP test)

--HG--
branch : qemu
parent c5fef89da6bc
......@@ -2614,7 +2614,7 @@ static unsigned int eos_handle_imgpowdet( unsigned int parm, EOSState *s, unsign
if (imgpowdet_enabled && s->model->imgpowdet_interrupt)
{
eos_trigger_int(s, s->model->imgpowdet_interrupt, 100);
eos_trigger_int(s, s->model->imgpowdet_interrupt, 1);
}
}
}
......
......@@ -830,6 +830,14 @@ function test_frsp {
echo -en "\e[33mImage Power Failure\e[0m "
fi
if grep -q "ImgPowDet( 0 )" tests/$CAM/$TEST.log; then
echo -en "\e[33mImgPowDet( 0 )\e[0m "
fi
if grep -q "S_SCS_E_SENSOR_LATCHUP" tests/$CAM/$TEST-uart.log; then
echo -en "\e[33mS_SCS_E_SENSOR_LATCHUP\e[0m "
fi
tests/check_grep.sh tests/$CAM/$TEST-uart.log \
-qm1 "FA_CreateTestImage Fin" || return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment