[PATCH v4 3/8] test: cmd: add unit tests for part command
Simon Glass
sjg at chromium.org
Mon Apr 20 02:46:07 CEST 2026
On 2026-04-19T14:31:40, Dario Binacchi
<dario.binacchi at amarulasolutions.com> wrote:
> test: cmd: add unit tests for part command
>
> Add unit tests for the 'part' command, specifically for the 'number',
> 'start', and 'size' subcommands.
>
> These tests establish a baseline for the current partition lookup
> functionality by name. This foundation will be used by subsequent
> patches to extend the command, ensuring consistent behavior as new
> features are introduced.
>
> Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
>
> test/cmd/Makefile | 1 +
> test/cmd/part.c | 165 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 166 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list