[OE-core] [PATCH] oeqa: Extend parselogs to rpi4
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Mar 16 22:20:08 UTC 2020
On Mon, 2020-03-16 at 13:50 -0700, Khem Raj wrote:
> On Mon, Mar 16, 2020 at 1:37 PM André Draszik <git at andred.net> wrote:
> > On Mon, 2020-03-16 at 12:17 -0700, Khem Raj wrote:
> > > On Mon, Mar 16, 2020 at 12:12 PM akuster808 <akuster808 at gmail.com
> > > > wrote:
> > > >
> > > > On 3/16/20 12:06 PM, Khem Raj wrote:
> > > > > rpi had additional diagnostics which should be ignored [1]
> > > > >
> > > > > [1] https://github.com/raspberrypi/linux/issues/3195
> > > >
> > > > So does this mean OE will take similar patches for every BSP in
> > > > the world?
> > > >
> > >
> > > suggest a better way and I will do that in BSP layer.
> >
> > Not sure about better way, but in my BSP layer I have:
> >
>
> thanks it certainly is better than what I have, I will adapt to it
>
> > layer.conf:
> > -----------
> > DEFAULT_TEST_SUITES_remove_mx7d = "parselogs"
> > DEFAULT_TEST_SUITES_append_mx7d = " parselogs_mx7bsp"
> >
> > lib/oeqa/runtime/cases/parselogs_mx7bsp.py:
> > -------------------------------------------
> > from oeqa.runtime.cases.parselogs import *
> >
> > mx7bsp_errors = [
> > 'list of messages',
> > ]
> >
> > ignore_errors['mymachine'] = mx7bsp_errors + common_errors
> >
> > class ParseLogsTestMX7BSP(ParseLogsTest):
> > pass
Its definitely better. I'd also take patches to further improve things
to allow easier customisation by BSPs. I did think there was some
mechanism but I'm struggling to remember what was intended.
Cheers,
Richard
More information about the Openembedded-core
mailing list