[PATCH 3/3] test/lib/uuid: Make lib_test_dynamic_uuid depend on SANDBOX

Tom Rini trini at konsulko.com
Mon Oct 28 22:34:41 CET 2024


On Mon, Oct 28, 2024 at 10:24:58PM +0100, Heinrich Schuchardt wrote:
> On 10/28/24 17:48, Tom Rini wrote:
> > The dynamic UUID test checks for the sandbox specific capsule UUID to be
> > used, so we can only perform this test on sandbox currently.
> 
> The tested function is gen_v5_guid(). This function is used to generated
> capsule UUIDs. It receives the test data provided in dynamic_uuid_test_data
> test_data[]:
> 
> * compatible string
> * image name
> 
> The generated UUID is compared to a UUID provided in the test data.
> 
> By chance the chosen test data contains the string 'sandbox'.
> 
> It is not obvious why this test should depend on running on the sandbox.
> 
> Where did it fail for you?

On Pi 3, I forget if it was rpi_3 or rpi_arm64_defconfig (with tweaks
like enabling CONFIG_UNIT_TEST).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241028/ec6fe2c4/attachment.sig>


More information about the U-Boot mailing list