[OE-core] [PATCH 4/6] devtool: also load plugins from BBPATH

Burton, Ross ross.burton at intel.com
Mon Jul 20 14:59:36 UTC 2015


On 14 July 2015 at 16:57, Christopher Larson <kergoth at gmail.com> wrote:

> +        parser_create_workspace =
> subparsers.add_parser('create-workspace',
> +                                                        help='Set up a
> workspace',
> +                                                        description='Sets
> up a new workspace. NOTE: other devtool subcommands will create a
> workspace automatically as needed, so you only need to use %(prog)s if you
> want to specify where the workspace should be located.')
> +        parser_create_workspace.add_argument('layerpath', nargs='?',
> help='Path in which the workspace layer should be created')
> +        parser_create_workspace.add_argument('--create-only',
> action="store_true", help='Only create the workspace layer, do not alter
> configuration')
> +        parser_create_workspace.set_defaults(func=create_workspace)
>

This is causing the selftests to abort:

FAIL: test_create_workspace (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ross/Yocto/poky/meta/lib/oeqa/utils/decorators.py", line 102,
in wrapped_f
    return func(*args)
  File "/home/ross/Yocto/poky/meta/lib/oeqa/selftest/devtool.py", line 97,
in test_create_workspace
    result = runCmd('devtool create-workspace %s' % tempdir)
  File "/home/ross/Yocto/poky/meta/lib/oeqa/utils/commands.py", line 104,
in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status
%d:\n%s" % (command, result.status, result.output))
AssertionError: Command 'devtool create-workspace /tmp/devtoolqaCuFJBv'
returned non-zero exit status 1:
Traceback (most recent call last):
  File "/home/ross/Yocto/poky/scripts/devtool", line 279, in <module>
    ret = main()
  File "/home/ross/Yocto/poky/scripts/devtool", line 268, in main
    ret = args.func(args, config, basepath, workspace, tinfoil)
TypeError: create_workspace() takes exactly 4 arguments (5 given)

(MACHINE=qemux86 oe-selftest --run-tests devtool)

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150720/058bca2e/attachment-0002.html>


More information about the Openembedded-core mailing list