]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/functional: Add a functional test for the sx1 board
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Oct 2024 12:54:42 +0000 (12:54 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Oct 2024 15:04:46 +0000 (15:04 +0000)
commitbc4d45b275fe63184a633d7d4f2ea2959b1fa4e7
tree08851e0773ac5bf441ef8d3bc84e8cc1a621764d
parentaff835834b745b5a60483aa436b7f3db4c45c753
tests/functional: Add a functional test for the sx1 board

Add a functional test for the sx1 board that uses the kernel and
rootfs provided by Guenter Roeck in the linux-test-downloads repo:
 https://github.com/groeck/linux-test-downloads/

We have three variants of the test for this board:
  * just boot initrd
  * boot with filesystem on SD card
  * boot from flash

In all cases these images have a userspace that is configured to
immediately reboot the system on successful boot, and the board
itself supports telling QEMU to do the reboot, so we only need to
wait for QEMU to exit (via -no-reboot).

Since there are three subtests, the test as a whole takes about
80s on my local machine. That's about the same as the aarch64_virt
test, so give it the same overall test timeout as that one.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20241017163247.711244-3-peter.maydell@linaro.org
tests/functional/meson.build
tests/functional/test_arm_sx1.py [new file with mode: 0755]