]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
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)
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
1  2 
.azure-pipelines.yml
.gitlab-ci.yml
cmd/Kconfig

Simple merge
diff --cc .gitlab-ci.yml
Simple merge
diff --cc cmd/Kconfig
Simple merge