Skip to content

tests/acceptance: Add bFLT loader linux-user test

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tests/acceptance: Rename avocado_qemu.Test as MachineTestdocs/devel/testing.rst tests/acceptance/avocado_qemu/__init__.py tests/acceptance/boot_linux_console.py +8 more+28 -230 replies
2/5tests/acceptance: Make pick_default_qemu_bin() more generictests/acceptance/avocado_qemu/__init__.py+6 -60 replies
3/5tests/acceptance: Introduce LinuxUserTest base classtests/acceptance/avocado_qemu/__init__.py+9 -00 replies
4/5tests/acceptance: Add bFLT loader linux-user testtests/acceptance/load_bflt.py+52 -00 replies
5/5.travis.yml: Let the avocado job run linux-user tests.travis.yml+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] tests/acceptance: Add bFLT loader linux-user test

Hi,

This series refactor the current avocado_qemu Test class to allow MachineTest and LinuxUserTest classes.
We can then add linux-user tests.
A simple/quick one is added as example, it runs a STM32 busybox binary (in the bFLT format) on Travis-CI.
The same test can be used to confirm LP bug 1833668 [*] is fixed.

Regards,

Phil.

[*] https://bugs.launchpad.net/qemu/+bug/1833668

Philippe Mathieu-Daudé (5):
tests/acceptance: Rename avocado_qemu.Test as MachineTest tests/acceptance: Make pick_default_qemu_bin() more generic tests/acceptance: Introduce LinuxUserTest base class tests/acceptance: Add bFLT loader linux-user test .travis.yml: Let the avocado job run linux-user tests

 .travis.yml                               |  2 +-
 docs/devel/testing.rst                    |  8 ++--
 tests/acceptance/avocado_qemu/__init__.py | 26 +++++++++---
 tests/acceptance/boot_linux_console.py    |  4 +-
 tests/acceptance/cpu_queries.py           |  4 +-
 tests/acceptance/empty_cpu_model.py       |  4 +-
 tests/acceptance/linux_initrd.py          |  4 +-
 tests/acceptance/linux_ssh_mips_malta.py  |  4 +-
 tests/acceptance/load_bflt.py             | 52 +++++++++++++++++++++++
 tests/acceptance/migration.py             |  4 +-
 tests/acceptance/version.py               |  4 +-
 tests/acceptance/virtio_version.py        |  4 +-
 tests/acceptance/vnc.py                   |  4 +-
 13 files changed, 95 insertions(+), 29 deletions(-)
 create mode 100644 tests/acceptance/load_bflt.py
Signature · 1 line
2.20.1