]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/sdk/kmod: skip test in eSDKs
authorRoss Burton <ross.burton@arm.com>
Sat, 10 May 2025 08:43:43 +0000 (09:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 May 2025 09:52:52 +0000 (10:52 +0100)
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 <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdk/cases/kmod.py

index af9fcf5150d8e604e51deb5536c2a0cc3cc3388d..0aa6f702e44e80809c9701ef1d845d7723f15195 100644 (file)
@@ -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")