generic-poky/scripts/lib/compatlayer
Patrick Ohly 68079d0f87 yocto-compat-layer: better handling of per-machine world build breakage
It is fairly common that BSP layers enable recipes when choosing
machines from that layer without checking whether the recipe actually
builds in the current distro. That breaks "bitbake world", retrieving
signatures and thus the test_machine_signatures test.

It's better to let that test continue with the signatures that can be
retrieved and report the broken world build separately. Right now, the
new test_machine_world iterates over all machines. More elegant and
useful in combination with a (currently missing) selection of which
tests to run would be to generate one test instance per machine. But that
is not straightforward and has to wait.

The "-k" argument alone was not enough to proceed despite failures,
because bitbake then still returns a non-zero exit code. The existance
of the output file is taken as sign that the bitbake execution managed
was not fatally broken.

(From OE-Core rev: 02f5d7836b726e40fef82b50b8145acc839b360b)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-04-13 10:54:10 +01:00
..
cases yocto-compat-layer: better handling of per-machine world build breakage 2017-04-13 10:54:10 +01:00
__init__.py yocto-compat-layer: better handling of per-machine world build breakage 2017-04-13 10:54:10 +01:00
case.py yocto-compat-layer.py: Add script to YP Compatible Layer validation 2017-03-04 23:18:19 +00:00
context.py yocto-compat-layer.py: Add script to YP Compatible Layer validation 2017-03-04 23:18:19 +00:00