This is a simple Avocado test that use OpenCV to find the 4 Raspberry Pi logo on the framebuffer screen dump.
The resulting match can be visualised at: https://pasteboard.co/ISzNHtx.png It is very fast, around 11 seconds on my laptop. The test probably won't stay in boot_linux_console.py but will go into tests/acceptance/machine_arm_raspi.py, but I wanted to show this test could work to test SMP CPUs. Similar test: "integratorcp: Verify Tux is displayed on framebuffer" https://lists.gnu.org/archive/html/qemu-devel/2020-01/msg08103.html Philippe Mathieu-Daudé (1): tests/acceptance: Count Raspberry Pi logos displayed on framebuffer tests/acceptance/boot_linux_console.py | 62 ++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) -- 2.21.1