diff options
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | 2020-11-30 18:12:17 +0900 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-12-03 21:22:50 +0100 |
commit | 4926e7d29afd276d3300ed3fc73c65df7c7dffa3 (patch) | |
tree | f505498fa6be69077c8280d7288dd3067592484a /test/py/tests/test_efi_capsule/conftest.py | |
parent | 450596f2ac3fd1425b33d02dc38b37ee3f3d2492 (diff) |
test/py: efi_capsule: test for raw image capsule
The test can run on sandbox build and it attempts to execute a firmware
update via a capsule-on-disk, using a raw image capsule,
CONFIG_EFI_CAPSULE_RAW.
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>
Diffstat (limited to 'test/py/tests/test_efi_capsule/conftest.py')
-rw-r--r-- | test/py/tests/test_efi_capsule/conftest.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/py/tests/test_efi_capsule/conftest.py b/test/py/tests/test_efi_capsule/conftest.py index d10494a7ee..6ad5608cd7 100644 --- a/test/py/tests/test_efi_capsule/conftest.py +++ b/test/py/tests/test_efi_capsule/conftest.py @@ -53,6 +53,9 @@ def efi_capsule_data(request, u_boot_config): check_call('cd %s; %s/tools/mkeficapsule --fit uboot_bin_env.itb --index 1 Test01' % (data_dir, u_boot_config.build_dir), shell=True) + check_call('cd %s; %s/tools/mkeficapsule --raw u-boot.bin.new --index 1 Test02' % + (data_dir, u_boot_config.build_dir), + shell=True) # Create a disk image with EFI system partition check_call('virt-make-fs --partition=gpt --size=+1M --type=vfat %s %s' % |