]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa: do not fail when sdk package is not available
authorPeter Marko <peter.marko@siemens.com>
Wed, 23 Jul 2025 06:26:16 +0000 (08:26 +0200)
committerMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Tue, 29 Jul 2025 08:24:58 +0000 (10:24 +0200)
commit4f11b05a8aa6ce1946b6fa19a36f317fe220cf11
treede37082f6d0f4970355968bb3131fb0ec5938fc9
parent249e42a02c412454cfed9d58e27a054dfa5d2b06
oeqa: do not fail when sdk package is not available

Prior to commits:
11277efd057685558a744e98082b5709e849dd2a
d0e8b83d05957b1f22d08582e364afa4b522801e
the tests were skipped if package was not available.
Now the code calls function ensure_host_package which says
"try to sdk-install missing dependencies", however in fact for sdkext it
causes a failure if the installation is not available.

Since maturin is not installed in any image, it cannot be installed
unless it's downloaded from sstate-cache mirror populated by a world
build. These builds are however now not done for powerpc and mips.
It also does not work in local builds without sstate-cache mirror.

Fix this by skipping the test if the package cannot be installed to
match the original behavior before those commits.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/lib/oeqa/sdk/case.py