From: Ross Burton Date: Sat, 10 May 2025 08:43:43 +0000 (+0100) Subject: oeqa/sdk/kmod: skip test in eSDKs X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f83beee6e63d25ef2b17618a85f9ad6ca0898600;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/sdk/kmod: skip test in eSDKs At the moment we can't run this test inside an eSDK as it needs the kernel-devsrc recipe to be present. Skip the test until this has been resolved. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/sdk/cases/kmod.py b/meta/lib/oeqa/sdk/cases/kmod.py index af9fcf5150d..0aa6f702e44 100644 --- a/meta/lib/oeqa/sdk/cases/kmod.py +++ b/meta/lib/oeqa/sdk/cases/kmod.py @@ -9,6 +9,7 @@ import subprocess import tempfile from oeqa.sdk.case import OESDKTestCase +from oeqa.sdkext.context import OESDKExtTestContext from oeqa.utils.subprocesstweak import errors_have_output errors_have_output() @@ -17,6 +18,9 @@ class KernelModuleTest(OESDKTestCase): Test that out-of-tree kernel modules build. """ def test_cryptodev(self): + if isinstance(self.tc, OESDKExtTestContext): + self.skipTest(f"{self.id()} does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15850)") + self.ensure_target_package("kernel-devsrc") # These targets need to be built before kernel modules can be built. self._run("make -j -C $OECORE_TARGET_SYSROOT/usr/src/kernel prepare scripts")