diff options
| author | Peter Marko <peter.marko@siemens.com> | 2025-11-20 09:25:11 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-26 07:50:35 -0800 |
| commit | fb988ddb650857483a01e65ad275097c4a19fd47 (patch) | |
| tree | cc0bd6b9d81ce8d9e925852a42eeec27cd3155fb | |
| parent | 2ab61fcf7d3581e7a1e4f07b1b6d26493dc4e141 (diff) | |
| download | poky-fb988ddb650857483a01e65ad275097c4a19fd47.tar.gz | |
oeqa/sdk/buildepoxy: skip test in eSDK
Currently meson inside eSDKs only works with fully populated eSDKs,
but our testing uses minimal eSDKS, so skip the test if the eSDK is a
minimal build. A bug has been filed to resolve this.
This is minimal change extracted from OE-Core commit which has this only
as a minor comment: 575e0bf52db0467d88af4b5fe467b682f10ca62a
(From OE-Core rev: 7cfacaee1b3319e561036512a849e762d0f68a5e)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/lib/oeqa/sdk/cases/buildepoxy.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdk/cases/buildepoxy.py b/meta/lib/oeqa/sdk/cases/buildepoxy.py index 5b9c36fcec..2f21210c79 100644 --- a/meta/lib/oeqa/sdk/cases/buildepoxy.py +++ b/meta/lib/oeqa/sdk/cases/buildepoxy.py | |||
| @@ -10,6 +10,7 @@ import tempfile | |||
| 10 | import unittest | 10 | import unittest |
| 11 | 11 | ||
| 12 | from oeqa.sdk.case import OESDKTestCase | 12 | from oeqa.sdk.case import OESDKTestCase |
| 13 | from oeqa.sdkext.context import OESDKExtTestContext | ||
| 13 | from oeqa.utils.subprocesstweak import errors_have_output | 14 | from oeqa.utils.subprocesstweak import errors_have_output |
| 14 | errors_have_output() | 15 | errors_have_output() |
| 15 | 16 | ||
| @@ -22,6 +23,9 @@ class EpoxyTest(OESDKTestCase): | |||
| 22 | if libc in [ 'newlib' ]: | 23 | if libc in [ 'newlib' ]: |
| 23 | raise unittest.SkipTest("MesonTest class: SDK doesn't contain a supported C library") | 24 | raise unittest.SkipTest("MesonTest class: SDK doesn't contain a supported C library") |
| 24 | 25 | ||
| 26 | if isinstance(self.tc, OESDKExtTestContext): | ||
| 27 | self.skipTest(f"{self.id()} does not support eSDK (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15854)") | ||
| 28 | |||
| 25 | if not (self.tc.hasHostPackage("nativesdk-meson") or | 29 | if not (self.tc.hasHostPackage("nativesdk-meson") or |
| 26 | self.tc.hasHostPackage("meson-native")): | 30 | self.tc.hasHostPackage("meson-native")): |
| 27 | raise unittest.SkipTest("EpoxyTest class: SDK doesn't contain Meson") | 31 | raise unittest.SkipTest("EpoxyTest class: SDK doesn't contain Meson") |
