On 15/11/24 16:50, Peter Maydell wrote:
Use the qtest_system_reset() function in various tests that were
previously open-coding the system-reset. Note that in several
cases this fixes a bug where the test did not wait for the RESET
QMP event before continuing.

Signed-off-by: Peter Maydell <[email protected]>
---
I can split this patch up if people prefer, but for test code
and given the size of the diffstat it didn't seem worthwhile.
---
  tests/qtest/bios-tables-test.c      |  4 ++--
  tests/qtest/boot-order-test.c       |  7 +------
  tests/qtest/hd-geo-test.c           |  9 +--------
  tests/qtest/q35-test.c              | 12 ++----------
  tests/qtest/qos-test.c              |  3 +--
  tests/qtest/stm32l4x5_gpio-test.c   | 10 +---------
  tests/qtest/stm32l4x5_syscfg-test.c | 12 ++----------
  7 files changed, 10 insertions(+), 47 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to