[PATCH 0/7] test: Add framebuffer test

Ahmad Fatoum a.fatoum at barebox.org
Mon Apr 13 00:44:43 PDT 2026


QEMU allows taking screenshots of screen. Make use of this to enable
doing some rudimentary graphic tests.

Ahmad Fatoum (7):
  ARM: multi_v8_defconfig: enable QEMU ramfb driver
  test: enable VirtIO keyboard
  commands: fbtest: add flush for single pattern
  test: conftest: don't call .startswith on int
  test: conftest: set -display none when non-interactive
  test: conftest: add qemu feature
  test: add framebuffer screenshot testing via QMP screendump

 arch/arm/configs/multi_v8_defconfig   |  1 +
 commands/fbtest.c                     |  1 +
 conftest.py                           | 37 +++++++-------
 test/arm/virt at multi_v8_defconfig.yaml |  2 +
 test/py/helper.py                     | 53 +++++++++++++++++++
 test/py/test_fbtest.py                | 74 +++++++++++++++++++++++++++
 6 files changed, 149 insertions(+), 19 deletions(-)
 create mode 100644 test/py/test_fbtest.py

-- 
2.47.3




More information about the barebox mailing list