[PATCH 3/3] configs: enable UNIT_TEST on qemu_arm_defconfig

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Nov 3 16:45:41 CET 2024


On 11/3/24 08:12, Heinrich Schuchardt wrote:
> The lib_test_uuid_to_le test fails on 32-bit systems. But we never caught
> this in our CI because we never ran any of our C unit tests on 32-bit.
> 
> Enable CONFIG_UNIT_TEST on qemu_arm_defconfig.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>   configs/qemu_arm_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig
> index d042aea49bb..cc4f4540fd5 100644
> --- a/configs/qemu_arm_defconfig
> +++ b/configs/qemu_arm_defconfig
> @@ -67,3 +67,4 @@ CONFIG_TPM2_MMIO=y
>   CONFIG_USB_EHCI_HCD=y
>   CONFIG_USB_EHCI_PCI=y
>   CONFIG_TPM=y
> +CONFIG_UNIT_TEST=y

Before merging this patch we also have to fix the lib_test_dynamic_uuid 
which fails on 32-bit.

Best regards

Heinrich



More information about the U-Boot mailing list