mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
393691faf1
commit
ff06a1b425
|
@ -9,6 +9,7 @@ import subprocess
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
from oeqa.sdk.case import OESDKTestCase
|
from oeqa.sdk.case import OESDKTestCase
|
||||||
|
from oeqa.sdkext.context import OESDKExtTestContext
|
||||||
from oeqa.utils.subprocesstweak import errors_have_output
|
from oeqa.utils.subprocesstweak import errors_have_output
|
||||||
errors_have_output()
|
errors_have_output()
|
||||||
|
|
||||||
|
@ -17,6 +18,9 @@ class KernelModuleTest(OESDKTestCase):
|
||||||
Test that out-of-tree kernel modules build.
|
Test that out-of-tree kernel modules build.
|
||||||
"""
|
"""
|
||||||
def test_cryptodev(self):
|
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")
|
self.ensure_target_package("kernel-devsrc")
|
||||||
# These targets need to be built before kernel modules can be built.
|
# 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")
|
self._run("make -j -C $OECORE_TARGET_SYSROOT/usr/src/kernel prepare scripts")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user