diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 14:45:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:11 +0000 |
commit | 6ed096e5ed3f751d84d421629bc199cb994c07f5 (patch) | |
tree | 5c0309aa5ed3a5006314d1ea5f02daec9c3e6c3c /meta/lib/oeqa/sdkext | |
parent | 23137a9897ab2a946d5ac78963616d63f539f43f (diff) | |
download | poky-6ed096e5ed3f751d84d421629bc199cb994c07f5.tar.gz |
oeqa/sdkext/context: Work around broken dependency checks to get sdk tests running
This is admitted a bit of a hack but it does allow a number of significant sdk
tests to run successfully and hence improves testing of eSDK which is good.
I'm therefore proposing we do this until we come up with a better solution
since the current lack of testing is worrying and would have caught other issues
had it been present.
(From OE-Core rev: 633b95ea32bbccf59b341a9d37b0b11027b48a63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/sdkext')
-rw-r--r-- | meta/lib/oeqa/sdkext/context.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/lib/oeqa/sdkext/context.py b/meta/lib/oeqa/sdkext/context.py index bee8c39b0a..65da4c6e1b 100644 --- a/meta/lib/oeqa/sdkext/context.py +++ b/meta/lib/oeqa/sdkext/context.py | |||
@@ -7,6 +7,14 @@ from oeqa.sdk.context import OESDKTestContext, OESDKTestContextExecutor | |||
7 | class OESDKExtTestContext(OESDKTestContext): | 7 | class OESDKExtTestContext(OESDKTestContext): |
8 | esdk_files_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "files") | 8 | esdk_files_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "files") |
9 | 9 | ||
10 | # FIXME - We really need to do better mapping of names here, this at | ||
11 | # least allows some tests to run | ||
12 | def hasHostPackage(self, pkg): | ||
13 | # We force a toolchain to be installed into the eSDK even if its minimal | ||
14 | if pkg.startswith("packagegroup-cross-canadian-"): | ||
15 | return True | ||
16 | return self._hasPackage(self.host_pkg_manifest, pkg) | ||
17 | |||
10 | class OESDKExtTestContextExecutor(OESDKTestContextExecutor): | 18 | class OESDKExtTestContextExecutor(OESDKTestContextExecutor): |
11 | _context_class = OESDKExtTestContext | 19 | _context_class = OESDKExtTestContext |
12 | 20 | ||