diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-05-10 09:43:38 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-05-12 22:01:55 +0100 |
| commit | 4ce977f3784440fc8f4df38dd0cb39326ebf3055 (patch) | |
| tree | de267ea28fb63d1b256298d423286dbf52d01c7f | |
| parent | 16ca89f0bb9aa1ad520fd364afb42f0310cd9b7a (diff) | |
| download | poky-4ce977f3784440fc8f4df38dd0cb39326ebf3055.tar.gz | |
oeqa/sdkext/context: align hasHostPackage with parent class
This subclass overrides hasHostPackage() but back in 2018[1] the parent
class's method gained a regex argument.
[1] oe-core 595e9922cdb ("oeqa/sdk: fixes related to hasPackage semantics")
(From OE-Core rev: cfd1e0a8c8d294510fca1a800ab27e4f1e2292bf)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/sdkext/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/sdkext/context.py b/meta/lib/oeqa/sdkext/context.py index 2ac2bf6ff7..2da57e2ccf 100644 --- a/meta/lib/oeqa/sdkext/context.py +++ b/meta/lib/oeqa/sdkext/context.py | |||
| @@ -12,11 +12,11 @@ class OESDKExtTestContext(OESDKTestContext): | |||
| 12 | 12 | ||
| 13 | # FIXME - We really need to do better mapping of names here, this at | 13 | # FIXME - We really need to do better mapping of names here, this at |
| 14 | # least allows some tests to run | 14 | # least allows some tests to run |
| 15 | def hasHostPackage(self, pkg): | 15 | def hasHostPackage(self, pkg, regex=False): |
| 16 | # We force a toolchain to be installed into the eSDK even if its minimal | 16 | # We force a toolchain to be installed into the eSDK even if its minimal |
| 17 | if pkg.startswith("packagegroup-cross-canadian-"): | 17 | if pkg.startswith("packagegroup-cross-canadian-"): |
| 18 | return True | 18 | return True |
| 19 | return self._hasPackage(self.host_pkg_manifest, pkg) | 19 | return self._hasPackage(self.host_pkg_manifest, pkg, regex) |
| 20 | 20 | ||
| 21 | class OESDKExtTestContextExecutor(OESDKTestContextExecutor): | 21 | class OESDKExtTestContextExecutor(OESDKTestContextExecutor): |
| 22 | _context_class = OESDKExtTestContext | 22 | _context_class = OESDKExtTestContext |
