[PATCH v3 0/2] ut: fix print_guid() and enable UNIT_TEST for qemu_arm64

Jerome Forissier jerome.forissier at linaro.org
Wed Apr 16 09:48:19 CEST 2025


There is a bug in the print_guid() unit test in test/common/print.c when
PARTITION_TYPE_GUID is not enabled but either CMD_EFIDEBUG or EFI are.

The first patch fixes the issue and the second one enables UNIT_TEST in
the qemu_arm64 defconfig so that the unit tests are run in CI (this
platform has CMD_EFIDEBUG so the bug applies).

Changes in v3:
See changelog in individual patches.

Jerome Forissier (2):
  lib/uuid.c: use unique name for PARTITION_SYSTEM_GUID
  qemu-arm64: enable UNIT_TEST

 configs/qemu_arm64_defconfig | 1 +
 lib/uuid.c                   | 9 ++++-----
 test/common/print.c          | 8 ++++----
 3 files changed, 9 insertions(+), 9 deletions(-)

-- 
2.43.0

base-commit: 8c98b57d72d5e5b94ed064fe1041e51216165334
branch: fix-qemu64-ut


More information about the U-Boot mailing list