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

Paul Eggleton paul.eggleton at linux.intel.com
Thu Nov 28 10:17:09 UTC 2013


Hi Chris,

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.

Thoughts?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list