[PATCH v4 0/2] test/py: enable HTTP testing

Tom Rini trini at konsulko.com
Fri May 30 21:39:15 CEST 2025


On Fri, 16 May 2025 04:52:54 -0400, Adriano Cordova wrote:

> Enable HTTP server in CI to support HTTP tests in pytest
> 
> QEMU does not emulate an HTTP server, unlike other services like DHCP or TFTP.
> To enable HTTP  tests during CI runs, start a simple Python HTTP server
> on port 80. This allows tests that require HTTP access to run.
> 
> The HTTP server is launched on the host. For QEMU environments launched
> with '-netdev,user' this means that the HTTP server runs together with DHCP
> at 10.0.2.2.  HTTP testing needs to be explicitly enabled with
> env__efi_helloworld_net_http_test_skip = False.
> 
> [...]

Applied to u-boot/next, thanks!

[1/2] CI testing: add http server to CI tests
      commit: 3e58991339843faa87c28c7d4caf4318ea2046c4
[2/2] cmd/Kconfig: select CMD_WGET if ARCH_QEMU
      commit: ec1d9f3fe81708ef7e5e45a46564f286404a7aba
-- 
Tom




More information about the U-Boot mailing list