[PATCH v8 1/8] test: boot: Update bootflow_iter() for console checking

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Oct 28 06:54:04 CET 2024


On 10/22/24 14:00, Simon Glass wrote:
> This test checks console output so should have the UTF_CONSOLE flag. Add
> it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v1)
>
>   test/boot/bootflow.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/boot/bootflow.c b/test/boot/bootflow.c
> index 154dea70a59..cc894e804a4 100644
> --- a/test/boot/bootflow.c
> +++ b/test/boot/bootflow.c
> @@ -370,7 +370,7 @@ static int bootflow_iter(struct unit_test_state *uts)
>
>   	return 0;
>   }
> -BOOTSTD_TEST(bootflow_iter, UTF_DM | UTF_SCAN_FDT);
> +BOOTSTD_TEST(bootflow_iter, UTF_DM | UTF_SCAN_FDT | UTF_CONSOLE);

The test invokes ut_assert_console_end(). But where does it check
console output?

Best regards

Heinrich

>
>   #if defined(CONFIG_SANDBOX) && defined(CONFIG_BOOTMETH_GLOBAL)
>   /* Check using the system bootdev */



More information about the U-Boot mailing list