diff options
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 10 | ||||
-rw-r--r-- | scripts/lib/devtool/standard.py | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index 2af6114948..2344fac5d8 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -325,7 +325,15 @@ class DevtoolTests(oeSelfTest): | |||
325 | self.track_for_cleanup(workspacedir) | 325 | self.track_for_cleanup(workspacedir) |
326 | self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') | 326 | self.add_command_to_tearDown('bitbake-layers remove-layer */workspace') |
327 | 327 | ||
328 | testrecipes = 'perf gcc-source kernel-devsrc package-index core-image-minimal meta-toolchain packagegroup-core-sdk meta-ide-support'.split() | 328 | testrecipes = 'perf kernel-devsrc package-index core-image-minimal meta-toolchain packagegroup-core-sdk meta-ide-support'.split() |
329 | # Find actual name of gcc-source since it now includes the version - crude, but good enough for this purpose | ||
330 | result = runCmd('bitbake-layers show-recipes gcc-source*') | ||
331 | reading = False | ||
332 | for line in result.output.splitlines(): | ||
333 | if line.startswith('=='): | ||
334 | reading = True | ||
335 | elif reading and not line.startswith(' '): | ||
336 | testrecipes.append(line.split(':')[0]) | ||
329 | for testrecipe in testrecipes: | 337 | for testrecipe in testrecipes: |
330 | # Check it's a valid recipe | 338 | # Check it's a valid recipe |
331 | bitbake('%s -e' % testrecipe) | 339 | bitbake('%s -e' % testrecipe) |
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index cb4b57be92..81a44d4513 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -124,7 +124,7 @@ def _check_compatible_recipe(pn, d): | |||
124 | logger.error("The perf recipe does not actually check out source and thus cannot be supported by this tool") | 124 | logger.error("The perf recipe does not actually check out source and thus cannot be supported by this tool") |
125 | return False | 125 | return False |
126 | 126 | ||
127 | if pn in ['gcc-source', 'kernel-devsrc', 'package-index']: | 127 | if pn in ['kernel-devsrc', 'package-index'] or pn.startswith('gcc-source'): |
128 | logger.error("The %s recipe is not supported by this tool" % pn) | 128 | logger.error("The %s recipe is not supported by this tool" % pn) |
129 | return False | 129 | return False |
130 | 130 | ||