[OE-core] [PATCH] oe-selftest: crosstap: add tests for crosstap script

Alexander Kanavin alexander.kanavin at linux.intel.com
Tue Mar 20 09:58:04 UTC 2018


On 03/20/2018 01:59 AM, Yeoh Ee Peng wrote:
> QA team were testing crosstap script  manually. Add automated
> tests and systemtap file to test that crosstap script will
> instructs SystemTap to print hello world in qemu. This test
> will first built core-image-minimal image with tools-profile
> & ssh-server-openssh features and build systemtap-native on
> the host machine. Finally this test will boot the image with qemu
> and then execute crosstap script to print hello world on qemu.

Can this be rewritten as a runtime test case to be used with testimage? 
It seems like the code duplicates much of what testimage.bbclass does, 
and we generally try to avoid adding test cases that build and boot 
images in oe-selftest, as it adds to already large running time for it. 
The acceptable exception is when an image needs a really custom 
configuration, but this is not the case here - you can take 
core-image-sato-sdk for example, which comes pre-packaged with 
tools-profile and ssh server.

Alex



More information about the Openembedded-core mailing list