]> code.ossystems Code Review - openembedded-core.git/commit
yocto-compat-layer: fix also other command invocations
authorPatrick Ohly <patrick.ohly@intel.com>
Wed, 5 Apr 2017 13:36:04 +0000 (15:36 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Apr 2017 21:48:04 +0000 (22:48 +0100)
commitb6c72c0d169473e2626938be2ee59f850624612e
tree8cb765b96c81710d1132e2290ad5437f2f5ab2bd
parent1da641661bb5963fcbd7ac2c20bc997c3eae6f18
yocto-compat-layer: fix also other command invocations

In commit 5b9ac62ab535d, one place was fixed where a command was
invoked such that failures caused double stack traces and stderr was
lost. The same problem also occurs elsewhere, triggered for example by
a layer with parsing problems.

Now a new utility method is used instead of repeating the code.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/compatlayer/__init__.py
scripts/lib/compatlayer/cases/common.py