Re: Run rt specific test in "core-image-rt" #patch #yocto #qemu #dunfell #linux


Alexander Kanavin
 

It helps if you show log.do_rootfs for the image, so it's possible to
inspect what actually got installed into it.

Alex

On Sun, 2 Oct 2022 at 09:29, Nikita Gupta <nikitagupta2509@...> wrote:

Hello All,

I have made a preempt-rt image with "core-image-rt" by including the following line in local.conf file.

PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
IMAGE_CLASSES += "testimage testsdk"
EXTRA_IMAGE_FEATURES = ptest-pkgs debug-tweaks"

and the bake my recipe with following command.

bitbake core-image-rt

I got my image successfully ready. Now I want to do testing of this image so I run the following command .

bitbake core-image-rt -c testimage

So i am seeing my all tests are skipped ( attached ). Kindly make me clear on following points .
1. Why my all tests are skipped?
2. How can I run the rt-specific test in my image? Except cyclictest any test, i need to run for this particular image ?
3. Would I need to run every test individually through bitbake or any other specific command so my p-test would run?
3. How can I generate the test report?

Any replies would be helpful for me. Thanks in advance

Join yocto@lists.yoctoproject.org to automatically receive all group messages.