Hello,
The first patch is a proposal to fix a long-standing issue when
capturing the console output. In some cases, the expected string does
not match in the output, causing the test to fail with a timeout. The
change introduces a _console_read() routine that processes the console
output character by character as a possible fix.
Last patches complete the conversion of the Aspeed tests and remove
the console workarounds.
Thanks,
C.
Cédric Le Goater (4):
tests/functional: Introduce _console_read()
tests/functional: Convert Aspeed aarch64 SDK tests
tests/functional: Convert Aspeed arm SDK tests
tests/functional: Remove sleep workarounds from Aspeed tests
tests/avocado/machine_aspeed.py | 202 ------------------------
tests/functional/meson.build | 2 +
tests/functional/qemu_test/cmd.py | 17 +-
tests/functional/test_aarch64_aspeed.py | 97 ++++++++++++
tests/functional/test_arm_aspeed.py | 74 ++++++++-
5 files changed, 184 insertions(+), 208 deletions(-)
delete mode 100644 tests/avocado/machine_aspeed.py
create mode 100644 tests/functional/test_aarch64_aspeed.py
--
2.47.0