]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe-selftest: fitimage: add testcases to test ATF and TEE
authorJamin Lin <jamin_lin@aspeedtech.com>
Mon, 17 Feb 2025 08:52:33 +0000 (16:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Feb 2025 10:47:30 +0000 (10:47 +0000)
commit92e51452f8831f74e0907b960135eef8cecd012a
tree54e416aafb937f0c09268795f1e61fb7b012fcee
parentc12e013453689697a8680f1c7de3e625a0ff28ec
oe-selftest: fitimage: add testcases to test ATF and TEE

Add "test_uboot_atf_tee_fit_image" test caste to check u-boot FIT image and
Image Tree Source(ITS) are built and the ITS has the correct fields.

Add "test_sign_standalone_uboot_atf_tee_fit_image" test case to check if u-boot
FIT image and Image Tree Source (ITS) are created and signed correctly for the
scenario where only the u-boot proper fitImage is being created and signed.

Currently, ATF and TEE(optee-os) recipes are placed in meta-arm layer.
OpenEmbedded-Core is a basic and core meta layer. To avoid OpenEmbedded-core
depends meta-arm, both test cases are used dummy images for testing.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/lib/oeqa/selftest/cases/fitimage.py