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

Thomas Huth posted 14 patches 2 months, 2 weeks ago
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
[PATCH 00/14] Convert Avocado tests based on LinuxKernelTest class
Posted by Thomas Huth 2 months, 2 weeks ago
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

-- 
2.46.0