[PATCH v8 22/23] test/py: add HTTP (wget) test for the EFI loader
Tom Rini
trini at konsulko.com
Wed Aug 7 19:52:47 CEST 2024
On Wed, Aug 07, 2024 at 07:12:06PM +0200, Jerome Forissier wrote:
> Add a test to test_efi_loader.py similar to the TFTP test but for HTTP
> with the wget command.
>
> Suggested-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
[snip]
> + at pytest.mark.buildconfigspec('of_control')
> + at pytest.mark.buildconfigspec('cmd_bootefi_hello_compile')
> +def test_efi_helloworld_net_tftp(u_boot_console):
This should also depend on cmd_tftpboot (existing bug).
> + """Run the helloworld.efi binary via TFTP.
> +
> + The helloworld.efi file is downloaded from the TFTP server and is executed
> + using the fallback device tree at $fdtcontroladdr.
> + """
> +
> + do_test_efi_helloworld_net(u_boot_console, PROTO_TFTP);
> +
> + at pytest.mark.buildconfigspec('of_control')
> + at pytest.mark.buildconfigspec('cmd_bootefi_hello_compile')
> +def test_efi_helloworld_net_http(u_boot_console):
Then this needs to depend on cmd_wget as well. Kicking my local build
scripts to add wget and moving on...
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240807/e0d590d7/attachment.sig>
More information about the U-Boot
mailing list