On 12/17/2018 01:58 AM, Richard Henderson wrote:
There's no point in waiting 5 full minutes when there will be
no more output. Compute timeout based on elapsed wall clock
time instead of N * delays, as the delay is a minimum sleep time.
Cc: Thomas Huth
Cc: Laurent Vivier
Cc: Paolo Bonzini
On 12/17/18 4:58 AM, Richard Henderson wrote:
> There's no point in waiting 5 full minutes when there will be
> no more output. Compute timeout based on elapsed wall clock
> time instead of N * delays, as the delay is a minimum sleep time.
>
> Cc: Thomas Huth
> Cc: Laurent Vivier
> Cc: Paolo Bo
On 2018-12-17 04:58, Richard Henderson wrote:
> There's no point in waiting 5 full minutes when there will be
> no more output.
Sounds like a very good idea, indeed.
As a follow up patch, we should likely use this in the other tests that
use TCG, too (i.e. in boot_sector_test() in tests/boot-sect
There's no point in waiting 5 full minutes when there will be
no more output. Compute timeout based on elapsed wall clock
time instead of N * delays, as the delay is a minimum sleep time.
Cc: Thomas Huth
Cc: Laurent Vivier
Cc: Paolo Bonzini
Signed-off-by: Richard Henderson
---
tests/libqtest