[PATCH v2 3/3] py/tests/test_efi_loader.py: execute HTTP testing

Tom Rini trini at konsulko.com
Wed May 14 17:04:54 CEST 2025


On Wed, May 14, 2025 at 03:45:13AM -0400, Adriano Cordova wrote:

> Execute test_efi_helloworld_net_http
> 
> Signed-off-by: Adriano Cordova <adriano.cordova at canonical.com>
> ---
> 
> v2:
>  - remove --httpserver option
> 
>  test/py/tests/test_efi_loader.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/test/py/tests/test_efi_loader.py b/test/py/tests/test_efi_loader.py
> index 91f151d09cd..e19920b4fce 100644
> --- a/test/py/tests/test_efi_loader.py
> +++ b/test/py/tests/test_efi_loader.py
> @@ -195,7 +195,7 @@ def test_efi_helloworld_net_http(ubman):
>  
>      Call the do_test_efi_helloworld_net function to execute the test via HTTP.
>      """
> -    if ubman.config.env.get('env__efi_helloworld_net_http_test_skip', True):
> +    if ubman.config.env.get('env__efi_helloworld_net_http_test_skip', False):
>          pytest.skip('helloworld.efi HTTP test is not enabled!')
>  
>      do_test_efi_helloworld_net(ubman, PROTO_HTTP);

Is this test inverted, or were you unaware of the u-boot-test-hooks side
at for example:
https://source.denx.de/u-boot/u-boot-test-hooks/-/blob/master/py/travis-ci/u_boot_boardenv_qemu_arm64_na.py?ref_type=heads

-- 
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/20250514/9f8eb965/attachment.sig>


More information about the U-Boot mailing list