[OE-core] [PATCH 7/9] selftest: skip runtime-test's test_testimage_install on poky-tiny distro
Joshua Lock
joshua.g.lock at linux.intel.com
Tue Oct 18 16:40:39 UTC 2016
On Mon, 2016-10-17 at 11:02 -0500, Leonardo Sandoval wrote:
>
> On 10/17/2016 02:09 AM, Joshua Lock wrote:
> >
> > On Fri, 2016-10-14 at 11:40 -0500,
> > leonardo.sandoval.gonzalez at linux.intel.com wrote:
> > >
> > > From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.c
> > > om>
> > >
> > > Distro poky-tiny cannot build the core-image-full-cmdline image,
> > > so
> > > skip the
> > > test if this is the case.
> > >
> > > [YOCTO #8525]
> > Wouldn't it be better to use a different image, most likely with
> > extra
> > packages installed, and maybe a different list of TEST_SUITES for
> > poky-
> > tiny so that we're still testing this functionality on poky-tiny?
>
> Yes, that is a good idea. Which image and the accompanied tests do
> you
> suggest?
I'd be inclined to suggest core-image-minimal with extra packages
installed to enable the same TEST_SUITES, but I can't recall exactly
what's being tested here. Would that combination make sense?
Thanks,
Joshua
>
> >
> > Thanks,
> >
> > Joshua
> >
> > >
> > > Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez at linu
> > > x.in
> > > tel.com>
> > > ---
> > > meta/lib/oeqa/selftest/runtime-test.py | 2 ++
> > > 1 file changed, 2 insertions(+)
> > >
> > > diff --git a/meta/lib/oeqa/selftest/runtime-test.py
> > > b/meta/lib/oeqa/selftest/runtime-test.py
> > > index c2d5b45..e17c261 100644
> > > --- a/meta/lib/oeqa/selftest/runtime-test.py
> > > +++ b/meta/lib/oeqa/selftest/runtime-test.py
> > > @@ -94,6 +94,8 @@ class TestImage(oeSelfTest):
> > > Product: oe-core
> > > Author: Mariano Lopez <mariano.lopez at intel.com>
> > > """
> > > + if self.distro == 'poky-tiny':
> > > + self.skipTest('core-image-full-cmdline not buildable
> > > for
> > > poky-tiny')
> > >
> > > features = 'INHERIT += "testimage"\n'
> > > features += 'TEST_SUITES = "ping ssh selftest"\n'
> > > --
> > > 2.1.4
> > >
>
More information about the Openembedded-core
mailing list