Skip to content

Convert Avocado tests based on LinuxKernelTest class

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14tests/functional: Add the LinuxKernelTest for testing the Linux boot processtests/functional/qemu_test/__init__.py tests/functional/qemu_test/linuxkernel.py+42 -01 reply
2/14tests/functional: Convert the m68k Q800 Avocado test into a functional testMAINTAINERS tests/avocado/boot_linux_console.py tests/functional/meson.build +1 more+40 -251 reply
3/14tests/functional: Convert mips64el Fuloong2e avocado test (2/2)tests/avocado/boot_linux_console.py tests/functional/test_mips64el_fuloong2e.py+22 -240 replies
4/14tests/functional: Convert mips64el I6400 Malta avocado testsMAINTAINERS tests/avocado/machine_mips_malta.py tests/functional/meson.build +1 more+110 -1080 replies
5/14tests/functional: Convert mips64el 5KEc Malta avocado teststests/avocado/boot_linux_console.py tests/functional/test_mips64el_malta.py+76 -740 replies
6/14tests/functional: Convert mips32el Malta YAMON avocado testMAINTAINERS tests/avocado/machine_mips_malta.py tests/functional/meson.build +2 more+61 -620 replies
7/14tests/functional: Convert nanomips Malta avocado teststests/avocado/boot_linux_console.py tests/functional/test_mipsel_malta.py+50 -600 replies
8/14tests/functional: Convert mips32eb 4Kc Malta avocado testsMAINTAINERS tests/avocado/boot_linux_console.py tests/functional/meson.build +1 more+86 -630 replies
9/14tests/functional: Convert ARM Raspi2 avocado testsMAINTAINERS tests/avocado/boot_linux_console.py tests/functional/meson.build +1 more+97 -850 replies
10/14tests/functional: Convert Aarch64 Raspi3 avocado testsMAINTAINERS tests/avocado/boot_linux_console.py tests/functional/meson.build +1 more+43 -230 replies
11/14tests/functional: Convert Aarch64 Raspi4 avocado testsMAINTAINERS tests/avocado/boot_linux_console.py tests/functional/meson.build +1 more+101 -970 replies
12/14tests/functional: Convert the Alpha Clipper Avocado testtests/avocado/boot_linux_console.py tests/functional/meson.build tests/functional/test_alpha_clipper.py+42 -211 reply
13/14tests/functional: Convert the m68k MCF5208EVB Avocado testtests/avocado/boot_linux_console.py tests/functional/meson.build tests/functional/test_m68k_mcf5208evb.py+30 -81 reply
14/14tests/functional: Convert the or1k-sim Avocado testtests/avocado/boot_linux_console.py tests/functional/meson.build tests/functional/test_or1k_sim.py+33 -81 reply

Reviews trailers per patch

7 of 14 patches have a Reviewed-by or Acked-by.

PatchThomas HuthPhilippe Mathieu-Daudé
1/14R-b
2/14R-b T-b
3/14
4/14R-b
5/14
6/14R-b
7/14
8/14
9/14
10/14
11/14
12/14T-b R-b
13/14T-b R-b
14/14R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] Convert Avocado tests based on LinuxKernelTest class

Here's my suggestion how to convert the Avocado tests from tests/avocado/boot_linux_console.py to the new functional framework:
Provide a LinuxKernelTest class in tests/functional/qemu_test/ so that the tests can be converted without too much modifications (we just have to put them into separate files now, since each file is run with a different qemu-system-target binary now).

Philippe Mathieu-Daudé (9):
tests/functional: Convert mips64el Fuloong2e avocado test (2/2) tests/functional: Convert mips64el I6400 Malta avocado tests tests/functional: Convert mips64el 5KEc Malta avocado tests tests/functional: Convert mips32el Malta YAMON avocado test tests/functional: Convert nanomips Malta avocado tests tests/functional: Convert mips32eb 4Kc Malta avocado tests tests/functional: Convert ARM Raspi2 avocado tests tests/functional: Convert Aarch64 Raspi3 avocado tests tests/functional: Convert Aarch64 Raspi4 avocado tests

Thomas Huth (5):
tests/functional: Add the LinuxKernelTest for testing the Linux boot
process
tests/functional: Convert the m68k Q800 Avocado test into a functional
test
tests/functional: Convert the Alpha Clipper Avocado test tests/functional: Convert the m68k MCF5208EVB Avocado test tests/functional: Convert the or1k-sim Avocado test

 MAINTAINERS                                 |   8 +-
 tests/avocado/boot_linux_console.py         | 483 --------------------
 tests/avocado/machine_mips_malta.py         | 162 -------
 tests/functional/meson.build                |  24 +-
 tests/functional/qemu_test/__init__.py      |   1 +
 tests/functional/qemu_test/linuxkernel.py   |  41 ++
 tests/functional/test_aarch64_raspi3.py     |  41 ++
 tests/functional/test_aarch64_raspi4.py     |  99 ++++
 tests/functional/test_alpha_clipper.py      |  38 ++
 tests/functional/test_arm_raspi2.py         |  95 ++++
 tests/functional/test_m68k_mcf5208evb.py    |  29 ++
 tests/functional/test_m68k_q800.py          |  37 ++
 tests/functional/test_mips64el_fuloong2e.py |  25 +-
 tests/functional/test_mips64el_malta.py     | 186 ++++++++
 tests/functional/test_mips_malta.py         |  81 ++++
 tests/functional/test_mipsel_malta.py       |  96 ++++
 tests/functional/test_or1k_sim.py           |  29 ++
 17 files changed, 825 insertions(+), 650 deletions(-)
 delete mode 100644 tests/avocado/machine_mips_malta.py
 create mode 100644 tests/functional/qemu_test/linuxkernel.py
 create mode 100755 tests/functional/test_aarch64_raspi3.py
 create mode 100755 tests/functional/test_aarch64_raspi4.py
 create mode 100755 tests/functional/test_alpha_clipper.py
 create mode 100755 tests/functional/test_arm_raspi2.py
 create mode 100755 tests/functional/test_m68k_mcf5208evb.py
 create mode 100755 tests/functional/test_m68k_q800.py
 create mode 100755 tests/functional/test_mips64el_malta.py
 create mode 100755 tests/functional/test_mips_malta.py
 create mode 100755 tests/functional/test_mipsel_malta.py
 create mode 100755 tests/functional/test_or1k_sim.py
Signature · 1 line
2.46.0