Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] kern-devsrc: Drop auto.conf creation
Date: Tue, 09 Aug 2022 15:26:41 +0100	[thread overview]
Message-ID: <8f42b33efeab6f5c631401871ec36ee4b9bc57bc.camel@linuxfoundation.org> (raw)
In-Reply-To: <CADkTA4MNbF9my_zeO+Bq3P5fcWDDijyYe_vcuyUuze2bXeGwgw@mail.gmail.com>

On Tue, 2022-08-09 at 10:22 -0400, Bruce Ashfield wrote:
> On Tue, Aug 9, 2022 at 10:08 AM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > 
> > On Tue, 2022-08-09 at 09:29 -0400, Bruce Ashfield wrote:
> > > On Tue, Aug 9, 2022 at 9:26 AM Richard Purdie
> > > <richard.purdie@linuxfoundation.org> wrote:
> > > > 
> > > > On Tue, 2022-08-09 at 09:16 -0400, Bruce Ashfield wrote:
> > > > > On Tue, Aug 9, 2022 at 7:14 AM Richard Purdie
> > > > > <richard.purdie@linuxfoundation.org> wrote:
> > > > > > 
> > > > > > After this commit in the mainline kernel, the quoting is different in auto.conf
> > > > > > compared to .config:
> > > > > > 
> > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=129ab0d2d9f38b9d43df35235fc66c6740d6928b
> > > > > > 
> > > > > > We therefore can't just copy one over the other or it leads to syntax/quoting
> > > > > > errors. We end up running make prepare anyway in all our tests so drop
> > > > > > this copy for fix 5.19 kernels.
> > > > > 
> > > > > It is safe to stop doing this manipulation now.
> > > > > 
> > > > > But I am curious, I was running on-target tests for 5.19+ and didn't
> > > > > have any issues, what is breaking that I managed to miss ?
> > > > 
> > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/59/builds/5629/steps/13/logs/stdio
> > > > 
> > > > Basically any kernelmodule.KernelModuleTest.test_kernel_module which
> > > > was run was failing (which would run on any image with kernel-devsrc in
> > > > and a toolchain). It failed everywhere, all sdk qemu machines equally.
> > > 
> > > odd. I never did see that same error, and I built and installed kernel
> > > module for all the architectures.
> > 
> > Did you use the oeqa code or something else? It seems odd you didn't
> > see it as it was quite consistent on my local system and the
> > autobuilders :/
> 
> I run everything by hand, oeqa has always taken too long in my
> infrastructure, so I run the kernel tests myself.

You could do something like:

IMAGE_CLASSES += "testimage"
TEST_SUTITES = "ping ssh kernelmodule"

and then

bitbake core-image-sato-sdk
bitbake core-image-sato-sdk -c testimage

just to run that one.

(I might have missed a test dependency which would need to be added to
the list in TEST_SUITES but you get the idea)

Cheers,

Richard


      reply	other threads:[~2022-08-09 14:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 11:14 [PATCH] kern-devsrc: Drop auto.conf creation Richard Purdie
2022-08-09 13:16 ` Bruce Ashfield
2022-08-09 13:26   ` Richard Purdie
2022-08-09 13:29     ` Bruce Ashfield
2022-08-09 14:08       ` Richard Purdie
2022-08-09 14:22         ` Bruce Ashfield
2022-08-09 14:26           ` Richard Purdie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8f42b33efeab6f5c631401871ec36ee4b9bc57bc.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox