[PATCH 0/4] test: add/document pytest --graphic, --env, --fs

Ahmad Fatoum a.fatoum at barebox.org
Tue Jul 8 12:35:56 PDT 2025


The --env and --fs options are very useful for passing stuff into QEMU
without having to assemble images or type stuff into the console.

Document them and add a new --graphic option that spawns either a Bochs
ISA, PCI or a ramfb graphic device depending on the target.

Ahmad Fatoum (4):
  test: update requirement to Labgrid v25.0
  test: drop now superfluous extra_args
  test: document pytest --env and --fs options
  test: add support for pytest --graphic

 Documentation/boards/emulated.rst             | 21 +++++++++++++++++++
 conftest.py                                   | 20 +++++++++++++++++-
 test/Containerfile                            |  2 +-
 test/arm/a15 at multi_v7_defconfig.yaml          |  2 +-
 test/arm/a9 at multi_v7_defconfig.yaml           |  2 +-
 .../qemu-raspi0 at multi_v5_v6_defconfig.yaml    |  2 +-
 .../qemu-raspi1ap at multi_v5_v6_defconfig.yaml  |  2 +-
 test/arm/qemu-raspi2b at multi_v7_defconfig.yaml |  2 +-
 test/arm/qemu-raspi3b at multi_v8_defconfig.yaml |  1 +
 .../qemu-sabrelite at multi_v7_defconfig.yaml    |  1 +
 test/arm/virt at multi_v7_defconfig.yaml         |  2 +-
 test/arm/virt at multi_v8_defconfig.yaml         |  2 +-
 test/mips/be at qemu-malta_defconfig.yaml        |  2 +-
 test/mips/qemu-malta64el_defconfig.yaml       |  2 +-
 test/mips/qemu-maltael_defconfig.yaml         |  2 +-
 test/openrisc/generic_defconfig.yaml          |  2 +-
 test/riscv/qemu-virt64 at rv64i_defconfig.yaml   |  2 +-
 test/riscv/qemu at virt32_defconfig.yaml         |  2 +-
 test/riscv/sifive at rv64i_defconfig.yaml        |  2 +-
 test/strategy.py                              |  4 ++--
 test/x86/pc at efi_defconfig.yaml                |  1 +
 test/x86/q35 at efi_defconfig.yaml               |  1 +
 test/x86/virtio at efi_defconfig.yaml            |  1 +
 23 files changed, 62 insertions(+), 18 deletions(-)

-- 
2.39.5




More information about the barebox mailing list