test/py: efi_capsule: test for FIT image capsule
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 30 Nov 2020 09:12:16 +0000 (18:12 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 3 Dec 2020 20:22:50 +0000 (21:22 +0100)
commit450596f2ac3fd1425b33d02dc38b37ee3f3d2492
treee88327f5077d8f970fb15ec40ddff2f62cfb7563
parentfab430be2f48a61eea470468ec57b0454707e2b4
test/py: efi_capsule: test for FIT image capsule

The test can run on sandbox build and it attempts to execute a firmware
update via a capsule-on-disk, using a FIT image capsule,
CONFIG_EFI_CAPSULE_FIT.

To run this test successfully, you need configure U-Boot specifically;
See test_capsule_firmware.py for requirements, and hence it won't run
on Travis CI, at least, for now.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
test/py/tests/test_efi_capsule/capsule_defs.py [new file with mode: 0644]
test/py/tests/test_efi_capsule/conftest.py [new file with mode: 0644]
test/py/tests/test_efi_capsule/test_capsule_firmware.py [new file with mode: 0644]
test/py/tests/test_efi_capsule/uboot_bin_env.its [new file with mode: 0644]
tools/mkeficapsule.c