diff options
author | Richard Henderson | 2018-12-17 04:58:16 +0100 |
---|---|---|
committer | Thomas Huth | 2018-12-17 15:37:50 +0100 |
commit | 21f80286cc48142c2df1530eba32bd70131a1bdc (patch) | |
tree | 691406632c7a10e93f1cede7e7f77b6211355b88 /scripts/qapi/common.py | |
parent | tests/pxe: Make test independent of global_qtest (diff) | |
download | qemu-21f80286cc48142c2df1530eba32bd70131a1bdc.tar.gz qemu-21f80286cc48142c2df1530eba32bd70131a1bdc.tar.xz qemu-21f80286cc48142c2df1530eba32bd70131a1bdc.zip |
tests: Exit boot-serial-test loop if child dies
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 <thuth@redhat.com>
Cc: Laurent Vivier <lvivier@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
[thuth: Replaced global_qtest with local qts variable]
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions