[OE-core] [PATCH v4 2/2] selftests: add tests for INCOMPATIBLE_LICENSE
Burton, Ross
ross.burton at intel.com
Tue Jun 11 14:59:00 UTC 2019
On Tue, 11 Jun 2019 at 15:55, Burton, Ross <ross.burton at intel.com> wrote:
> Either is fine. Note that in the broken case - where the recipe isn't
> skipped - the test goes ahead and compiles stuff. Can you also try
> using --dry-run to see if that results in the same test behaviour, but
> without attempting compilation.
FWIW:
- result = bitbake(pn, ignore_status=True)
+ result = bitbake("%s --dry-run" % pn, ignore_status=True)
Still results in the nonspdx case failing as expected without the fix,
but without any compilation attempted.
Ross
More information about the Openembedded-core
mailing list