[OE-core] [PATCH 6/6] scripts/contrib/devtool-stress: exclude more recipes by default

Khem Raj raj.khem at gmail.com
Thu Jul 7 01:54:37 UTC 2016


On Wed, Jul 6, 2016 at 6:39 PM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
> Hi Khem,
>
> devtool itself already understands not to try to deal with these recipes - it
> will print out a reasonable error for the user. The exception list is just for
> the devtool-stress script so that it produces clean output.

OK understood the case, I was just thinking of cases where recipes are external
and for some reason dont yet work with devtool, may be can be
blacklisted in recipes
instead of having a central list.

>
> Cheers,
> Paul
>
> On Wed, 06 Jul 2016 17:42:22 Khem Raj wrote:
>> On Wed, Jul 6, 2016 at 4:57 PM, Paul Eggleton
>>
>> <paul.eggleton at linux.intel.com> wrote:
>> > These recipes can't be used with devtool because they can't be unpacked
>> > in the normal way.
>>
>> May be we should have a devtoop blacklist variable that can be added
>> to the recipe
>>
>> > Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
>> > ---
>> >
>> >  scripts/contrib/devtool-stress.py | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/scripts/contrib/devtool-stress.py
>> > b/scripts/contrib/devtool-stress.py index ab77a2d..5f396aa 100755
>> > --- a/scripts/contrib/devtool-stress.py
>> > +++ b/scripts/contrib/devtool-stress.py
>> >
>> > @@ -210,7 +210,7 @@ def main():
>> >      parser.add_argument('-d', '--debug', help='Enable debug output',
>> >      action='store_true') parser.add_argument('-r', '--resume-from',
>> >      help='Resume from specified recipe', metavar='PN')
>> >      parser.add_argument('-o', '--only', help='Only test specified
>> >      recipes (comma-separated without spaces, wildcards allowed)',
>> >      metavar='PNLIST')>
>> > -    parser.add_argument('-s', '--skip', help='Skip specified recipes
>> > (comma-separated without spaces, wildcards allowed)', metavar='PNLIST') +
>> >    parser.add_argument('-s', '--skip', help='Skip specified recipes
>> > (comma-separated without spaces, wildcards allowed)', metavar='PNLIST',
>> > default='gcc-source-*,kernel-devsrc,package-index,perf,meta-world-pkgdata
>> > ,glibc-locale,glibc-mtrace,glibc-scripts,os-release')>
>> >      parser.add_argument('-c', '--skip-classes', help='Skip recipes
>> >      inheriting specified classes (comma-separated) - default
>> >      %(default)s', metavar='CLASSLIST',
>> >      default='native,nativesdk,cross,cross-canadian,image,populate_sdk,me
>> >      ta,packagegroup') subparsers =
>> >      parser.add_subparsers(title='subcommands', metavar='<subcommand>')
>> >      subparsers.required = True
>> >
>> > --
>> > 2.5.5
>> >
>> > --
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core at lists.openembedded.org
>> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre



More information about the Openembedded-core mailing list