[PATCH v2 7/7] test: lib/uuid: add unit tests for dynamic UUIDs

Ilias Apalodimas ilias.apalodimas at linaro.org
Thu May 30 17:20:48 CEST 2024


[...]

> +static int lib_test_dynamic_uuid(struct unit_test_state *uts)
> +{
> +       int ret, i;
> +
> +       ut_unsilence_console(uts);
> +       static const struct dynamic_uuid_test_data test_data[] = {

You pass this a function ptr, I guess the static is a typo?

> +               {
> +                       .compatible = "sandbox",
> +                       .namespace = SANDBOX_NAMESPACE_UUID,
> +                       .images = {
> +                               u"SANDBOX-UBOOT",
> +                               u"SANDBOX-UBOOT-ENV",
> +                               u"SANDBOX-FIT",
> +                               NULL,
> +                       },

[...]

Cheers
/Ilias


More information about the U-Boot mailing list