[OE-core] [PATCH v5 05/10] bitbake.conf: add ip and scp to HOSTTOOLS unconditionally

Konrad Scherer Konrad.Scherer at windriver.com
Mon Oct 30 13:55:58 UTC 2017


On 10/30/2017 06:51 AM, Markus Lehtonen wrote:
> Hi,
> 
> What that tries state is that the image uses facilities written for
> runtimetest (i.e. oeqa.targetcontrol) to run binaries on the target
> machine. The new image introduced (i.e. python-pgo-image) uses this
> to run the profiling task on device.

I ran into something very similar. When using 'TEST_IMAGE = 1' (which
uses testimage-auto), the conditional in bitbake.conf doesn't work and 
ip and ping are not available in tmp/hosttools.

When using just 'INHERIT += "testimage"' the conditional works but the 
tests are not run automatically.

If I use both 'TEST_IMAGE = 1' and 'INHERIT += "testimage"' together,
the hosttools are found and the tests are run successfully.

This is unexpected because classes/testimage-auto.bbclass does contain
'inherit testimage'.

What config options are you putting in local.conf to trigger the tests?

-- 
Konrad Scherer, MTS, Linux Products Group, Wind River



More information about the Openembedded-core mailing list