On Fri, May 09, 2025 at 11:43:49AM -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 pytest framework is informed of the server's presence setting --httpserver > to a non-empty value, and pytest enables HTTP test cases. The actual string > value passed on --httpserver (e.g., "localhost:80") does not affect behavior, > it is only checked for non-emptiness. In the future, if the `wget` command in > U-Boot adds support for specifying ports, the value of --httpserver may become > meaningful and can be updated accordingly.
I'm not 100% sure on this part. I've been doing this locally with the python http server running on the dhcp server. This should also just work in CI, and not need further argument passing? -- Tom
signature.asc
Description: PGP signature