[OE-core] [OE-Core][PATCH 1/1] wic: argparse now used for help functionality.

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jan 22 10:16:48 UTC 2018


On Thu, 2018-01-18 at 07:42 -0800, anelliot wrote:
> The wic help output formally consisted of manually created strings
> mixed with argparse,
> which wasunformatted and unusable. This fix cleans up the help
> messages, rewrites help
> functionality to use argparse, and adds functionality to show
> information for
> plugins (similar to canned images).
> 
> Fixes [YOCTO #12205]
> 
> Signed-off-by: anelliot <amber.n.elliot at intel.com>
> ---
>  meta/lib/oeqa/selftest/cases/wic.py |   58 +-
>  scripts/lib/wic/engine.py           |   87 ++-
>  scripts/lib/wic/help.py             | 1080 ++++---------------------
> ----------
>  scripts/wic                         |  168 ++----
>  4 files changed, 269 insertions(+), 1124 deletions(-)


Unfortunately this is causing a selftest regression:

https://autobuilder.yocto.io/builders/nightly-oe-selftest/builds/771

You should be able to reproduce with:

"oe-selftest -r wic.Wic.test_qemu"

Cheers,

Richard



More information about the Openembedded-core mailing list