Merge patch series "test/py: enable HTTP testing"
authorTom Rini <trini@konsulko.com>
Fri, 30 May 2025 16:26:33 +0000 (10:26 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 May 2025 17:19:45 +0000 (11:19 -0600)
commit5eb1b7843811e3e87b0e677212a9145f07552a60
tree4cb70288edeec4d3cee69e4b66f5f4a3a14c01b6
parente15282f943b42647478ec158011656df7cf12ec2
parentec1d9f3fe81708ef7e5e45a46564f286404a7aba
Merge patch series "test/py: enable HTTP testing"

Adriano Cordova <adrianox@gmail.com> says:

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.

We also default `WGET=y` in `ARCH_QEMU` configurations so that these HTTP
tests are included automatically when using QEMU in CI.

Link: https://lore.kernel.org/r/20250516085256.30386-1-adriano.cordova@canonical.com
.azure-pipelines.yml
.gitlab-ci.yml
cmd/Kconfig