mbox series

[0/7] tests/functional: Convert the advent calendar tests

Message ID 20240919185749.71222-1-thuth@redhat.com
Headers show
Series tests/functional: Convert the advent calendar tests | expand

Message

Thomas Huth Sept. 19, 2024, 6:57 p.m. UTC
Convert the advent calendar avocado tests to the new functional
framework. Since most tests are doing pretty much the same
(add a "-kernel" parameter and maybe "-initrd" and "-dtb", then
launch QEMU and wait for a string on the serial console), we
first introduce a helper function to shorten this repetive task.

Thomas Huth (7):
  tests/functional/qemu_test: Add a function for launching kernels more
    easily
  tests/functional: Convert the vexpressa9 Avocado test
  tests/functional: Convert the xtensa lx60 Avocado test
  tests/functional: Convert the SPARCStation Avocado test
  tests/functional: Convert the e500 ppc64 Avocado test
  tests/functional: Convert the mac ppc Avocado tests
  tests/functional: Convert the r2d sh4 Avocado test

 MAINTAINERS                               |  7 ++
 tests/avocado/boot_linux_console.py       | 92 -----------------------
 tests/functional/meson.build              | 15 ++++
 tests/functional/qemu_test/linuxkernel.py | 12 +++
 tests/functional/test_arm_vexpress.py     | 26 +++++++
 tests/functional/test_ppc64_e500.py       | 25 ++++++
 tests/functional/test_ppc_mac.py          | 38 ++++++++++
 tests/functional/test_sh4_r2d.py          | 31 ++++++++
 tests/functional/test_sparc_sun4m.py      | 25 ++++++
 tests/functional/test_xtensa_lx60.py      | 26 +++++++
 10 files changed, 205 insertions(+), 92 deletions(-)
 create mode 100755 tests/functional/test_arm_vexpress.py
 create mode 100755 tests/functional/test_ppc64_e500.py
 create mode 100755 tests/functional/test_ppc_mac.py
 create mode 100755 tests/functional/test_sh4_r2d.py
 create mode 100755 tests/functional/test_sparc_sun4m.py
 create mode 100755 tests/functional/test_xtensa_lx60.py