[PATCH V5 0/4] cmd: env: select: Add output for available environment targets

Tom Rini trini at konsulko.com
Mon Jul 28 21:03:20 CEST 2025


On Fri, Jul 18, 2025 at 07:05:58PM +0200, Christoph Niedermaier wrote:

> Add the "-l" parameter to the "env select" command to print the available
> environment targets, convert all argument parsing in the file nvedit.c to
> getopt() and check that with unit tests.
> 
> The first patch converts the parsing of arguments to getopt() for all env
> commands. The second one avoids stopping unit test on console output
> "## Error: ". The third one adds unit tests for checking the env command.
> These were used to check the env commands before and after the conversion.
> The fourth patch adds the actual new parameter "-l" for the "env select"
> command.
> 
> Christoph Niedermaier (3):
>   cmd: nvedit: Convert the parsing of arguments to getopt()
>   test/py: Avoid stopping the test on console output "## Error: "
>   test: cmd: nvedit: Add basic unit tests
>   cmd: env: select: Add output for available environment targets

I'm sorry, but it seems like a lot of the tests fail in CI?
https://source.denx.de/u-boot/u-boot/-/jobs/1209804
https://source.denx.de/u-boot/u-boot/-/jobs/1209794
For example.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250728/5b7b2732/attachment.sig>


More information about the U-Boot mailing list