diff options
author | Ross Burton <ross.burton@arm.com> | 2025-05-10 09:43:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-12 22:01:55 +0100 |
commit | ff06a1b4257a98d3003a4a23660cbbd96b0d11d4 (patch) | |
tree | 67960f6b64c2a5ba774e245529347c1177acd633 | |
parent | 393691faf127dbb4d098069e654ac84bba664005 (diff) | |
download | poky-ff06a1b4257a98d3003a4a23660cbbd96b0d11d4.tar.gz |
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.
(From OE-Core rev: f83beee6e63d25ef2b17618a85f9ad6ca0898600)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/lib/oeqa/sdk/cases/kmod.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdk/cases/kmod.py b/meta/lib/oeqa/sdk/cases/kmod.py index af9fcf5150..0aa6f702e4 100644 --- a/meta/lib/oeqa/sdk/cases/kmod.py +++ b/meta/lib/oeqa/sdk/cases/kmod.py | |||
@@ -9,6 +9,7 @@ import subprocess | |||
9 | import tempfile | 9 | import tempfile |
10 | 10 | ||
11 | from oeqa.sdk.case import OESDKTestCase | 11 | from oeqa.sdk.case import OESDKTestCase |
12 | from oeqa.sdkext.context import OESDKExtTestContext | ||
12 | from oeqa.utils.subprocesstweak import errors_have_output | 13 | from oeqa.utils.subprocesstweak import errors_have_output |
13 | errors_have_output() | 14 | errors_have_output() |
14 | 15 | ||
@@ -17,6 +18,9 @@ class KernelModuleTest(OESDKTestCase): | |||
17 | Test that out-of-tree kernel modules build. | 18 | Test that out-of-tree kernel modules build. |
18 | """ | 19 | """ |
19 | def test_cryptodev(self): | 20 | def test_cryptodev(self): |
21 | if isinstance(self.tc, OESDKExtTestContext): | ||
22 | self.skipTest(f"{self.id()} does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15850)") | ||
23 | |||
20 | self.ensure_target_package("kernel-devsrc") | 24 | self.ensure_target_package("kernel-devsrc") |
21 | # These targets need to be built before kernel modules can be built. | 25 | # These targets need to be built before kernel modules can be built. |
22 | self._run("make -j -C $OECORE_TARGET_SYSROOT/usr/src/kernel prepare scripts") | 26 | self._run("make -j -C $OECORE_TARGET_SYSROOT/usr/src/kernel prepare scripts") |