mbox series

[0/2] tests/functional: Add LinuxKernelTest class and convert Q800 test

Message ID 20240827123107.34475-1-thuth@redhat.com (mailing list archive)
Headers show
Series tests/functional: Add LinuxKernelTest class and convert Q800 test | expand

Message

Thomas Huth Aug. 27, 2024, 12:31 p.m. UTC
Here's how I'd suggest to convert the tests from
tests/avocado/boot_linux_console.py :
Copy the whole LinuxKernelTest class (well, let's drop extract_from_rpm
for now since it is completely unused), so we can copy the test code
with only some few modifications (using the Q800 test as an example here).

Thomas Huth (2):
  tests/functional: Add the LinuxKernelTest for testing the Linux boot
    process
  tests/functional: Convert the m68k Q800 Avocado test into a functional
    test

 MAINTAINERS                               |  1 +
 tests/avocado/boot_linux_console.py       | 24 -------------
 tests/functional/meson.build              |  3 +-
 tests/functional/qemu_test/__init__.py    |  1 +
 tests/functional/qemu_test/linuxkernel.py | 41 +++++++++++++++++++++++
 tests/functional/test_m68k_q800.py        | 37 ++++++++++++++++++++
 6 files changed, 82 insertions(+), 25 deletions(-)
 create mode 100644 tests/functional/qemu_test/linuxkernel.py
 create mode 100755 tests/functional/test_m68k_q800.py