[poky] [PATCH 1/1] meta-selftest: add error recipe and error-image
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Sep 21 08:13:41 PDT 2015
On Monday 21 September 2015 16:06:51 Paul Eggleton wrote:
> On Monday 21 September 2015 11:37:02 Burton, Ross wrote:
> > 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=3da9cfbcb788c80a0384361b4de2042
> > > 0"
> > > +
> > > +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?
>
> Good idea; one more - use bbfatal with a message like "failing as expected"
> or similar. I think "Not currently used by oe-selftest" can be dropped as
> well, that's likely to change in the near future.
Another thing - meta-selftest is part of openembedded-core - so this should be
sent to the openembedded-core at lists.openembedded.org mailing list.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the poky
mailing list