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

Thomas Huth posted 7 patches 1 month ago
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
[PATCH 0/7] tests/functional: Convert the advent calendar tests
Posted by Thomas Huth 1 month ago
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

-- 
2.46.0
Re: [PATCH 0/7] tests/functional: Convert the advent calendar tests
Posted by Richard Henderson 1 month ago
On 9/19/24 20:57, Thomas Huth wrote:
> 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

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~