Bug 15516 - Add testing for toaster fixtures
Summary: Add testing for toaster fixtures
Status: RESOLVED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High enhancement
Target Milestone: 5.2 M3
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-06-13 14:54 UTC by Tim Orling
Modified: 2025-03-05 10:32 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Orling 2024-06-13 14:54:15 UTC
We should add testing to ensure the toaster fixtures work for the stable release and all active LTS releases.

This involves changes in:
https://git.openembedded.org/bitbake/tree/lib/toaster/orm/fixtures/gen_fixtures.py

Which should then be run to regenerate the actual fixtures:
https://git.openembedded.org/bitbake/tree/lib/toaster/orm/fixtures/oe-core.xml
https://git.openembedded.org/bitbake/tree/lib/toaster/orm/fixtures/poky.xml

These populate the drop down menu which allows you to choose from which release to create a toaster project.

Related test cases are in:
https://git.openembedded.org/bitbake/tree/lib/toaster/tests/functional/test_create_new_project.py

e.g. test_create_new_project_scarthgap and test_create_new_project_kirkstone
Comment 1 Tim Orling 2024-10-03 14:54:43 UTC
RP suggested just scanning the XML for the proper configuration.