[OE-core] [PATCH 0/4] Script and layer for running tests

Chris Larson clarson at kergoth.com
Thu Nov 28 20:29:32 UTC 2013


On Thu, Nov 28, 2013 at 3:17 AM, Paul Eggleton <
paul.eggleton at linux.intel.com> wrote:

> On Wednesday 27 November 2013 11:42:06 Chris Larson wrote:
> > On Wed, Nov 27, 2013 at 10:08 AM, Stefan Stanacar <
> > stefanx.stanacar at intel.com> wrote:
> > > This series adds an oe-selftest script, some modules and a new layer
> > > meta-selftest.
> > > which are meant to help in writing tests (using python unittest) for
> > > various
> > > bitbake tools/scripts as well as simple output checks or do
> > > complete builds with different options (with the emphasis that
> everything
> > > checked
> > > is done outside of bitbake context, just like a human would do.) For
> more
> > > details,
> > > please see YOCTO #4740.
> >
> > Will this have its own repository like all the other poky integrated
> > layers? It really should, in my opinion.
>
> It really needs to stay in the same place as the tests that rely on it;
> they
> can't work without it. It might be suggested that the tests should go
> elsewhere with them; but I don't think that would make sense - we want
> people
> to be able to run these tests easily if they make changes to OE-Core to
> check
> if they have caused any regressions.
>
> If you have a look at the layer, there's not a lot in it, and I wouldn't
> expect a lot to be added in future. One possible change would be to just
> have
> the layer created on the fly in some temporary directory by the tests
> themselves, rather than having it in the repository; on the other hand it
> does
> make it a bit more difficult to look into outside of the test environment.


I understand what you’re saying, but if this script is supposed to be
generally useful for OE/Yocto, not just Poky, then the poky repository
shouldn’t be its definitive location. Further, patches against oe-core
should be submitted against the oe-core repository, not the poky
repository, and anything poky specific should go to the poky list.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20131128/6fa84d39/attachment-0002.html>


More information about the Openembedded-core mailing list