[OE-core] [PATCH 1/1] selftest/runtime-test.py: Add test for import test from other layers

Mariano Lopez mariano.lopez at linux.intel.com
Wed Jun 15 21:16:25 UTC 2016



On 06/15/2016 04:05 PM, Khem Raj wrote:
> On Wed, Jun 15, 2016 at 2:01 PM, Mariano Lopez
> <mariano.lopez at linux.intel.com> wrote:
>>
>> On 06/15/2016 03:47 PM, Khem Raj wrote:
>>> On Tue, Jun 14, 2016 at 3:08 PM, Mariano Lopez
>>> <mariano.lopez at linux.intel.com> wrote:
>>>> If we're just running ping/ssh/selftest, can the image be something a lot
>>>> smaller such as core-image-base?
>>>>
>>>> Ross
>>>>
>>>>
>>>> Unfortunately, base or minimal don't have ssh installed, and ssh it is
>>>> required for the runtime tests.
>>>> I could add the ssh to DISTRO_FEATURES but personally I think that is not
>>>> clean. What do you think?
>>> Can ssh be added to images automatically if testing is enabled ?
>>
>> IMO that is not a good practice, because the image being tested is polluted
>> with packages not meant to be there.
> I thought you mentioned that ssh is required for testing, I dont see
> that as polluting.
> and its only added to image with have ptest turned on.

This is for testimage/testexport and there is a TEST_SUITE specific for 
minimal image.

If the resource consumption seems to be the problem; adding ssh to 
minimal or base would trigger the build of a new rootfs/image; in the 
other hand is very likely core-image-sato is already built when running 
this test.



More information about the Openembedded-core mailing list