On Sat, 2026-09-19 at 21:19 +0300, Angel2Eyes wrote:
> The class has had no tests since it was added. Load the live helpers
> and cover tune2fs UUID parsing, placeholder replacement used by
> syslinux/grub/systemd-boot, and a real ext image when e2fsprogs is
> present.
> 
> [YOCTO #15020]
> 
> AI-Generated: Cursor Grok 4.6

Hi,

Please review the existing test cases for an understanding of how we
typically do things in OE-core selftests. Mocking out the bitbake
datastore & bb module, reading a bbclass file in and calling
exec(compile()), etc are not things we usually do and require further
explanation for why they are needed.

As mentioned in the description of the bug [1], the way forward is
probably to move the functions from fs-uuid.bbclass into a Python module
under lib/oe. That should allow simpler testing as a second patch.

[1]: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15020

Best regards,

-- 
Paul Barker

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246310): 
https://lists.openembedded.org/g/openembedded-core/message/246310
Mute This Topic: https://lists.openembedded.org/mt/121353088/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to