[poky] [PATCH 1/1] meta-selftest: add error recipe and error-image

Burton, Ross ross.burton at intel.com
Mon Sep 21 03:37:02 PDT 2015


On 20 September 2015 at 01:53, brian avery <avery.brian at gmail.com> wrote:

> +++ b/meta-selftest/recipes-test/error/error.bb
> @@ -0,0 +1,10 @@
> +SUMMARY = "Error Test case that fails on do_compile"
> +DESCRIPTION = "This generates a compile time error to be used to for
> testing. Not currently used by oe-selftest"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM =
> "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +INHIBIT_DEFAULT_DEPS = "1"
> +
> +do_compile() {
> +        false;
> +}
>

Would it be sensible to addEXCLUDE_FROM_WORLD to this so it doesn't get
built in world builds if meta-selftest is enabled?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20150921/6e0547bd/attachment.html>


More information about the poky mailing list