Yes, I expect to find in my image ptests for systemd and zlib because these recipes are ptest-enabled.
In fact, after some trials, I got to understand that the problem is related to EXTRA_IMAGE_FEATURES += "ptest-pkgs" , because I replaced it with IMAGE_FEATURES_append = " ptest-pkgs" in local.conf and to my surprise I found all -ptests packages from all the ptest-enabled recipes in my image. So, contrary to what is stated in the ptest wiki and the yocto documentation, using EXTRA_IMAGE_FEATURES doesn't install ptests packages (from ptest-enabled recipes) in my image, and I can't figure out why .. <https://www.yoctoproject.org/docs/1.6.1/dev-manual/dev-manual.html#testing-packages-with-ptest> Nader ________________________________ De : Alexander Kanavin <alex.kana...@gmail.com> Envoyé : lundi 20 août 2018 14:09 À : Nader Hariri Cc : yocto@yoctoproject.org Objet : Re: [yocto] ptest-runner "No ptests found." 2018-08-16 16:07 GMT+02:00 Nader Hariri <nader.har...@hotmail.com>: > Hi, I am new to Yocto. I am working on ptest-runner. > > I followed the wiki https://wiki.yoctoproject.org/wiki/Ptest , but when I > boot to my image and run ptest-runner I have the output : "No ptests found." > > Is this normal ? I thought that > > DISTRO_FEATURES_append = " ptest" > > and > > EXTRA_IMAGE_FEATURES += "ptest-pkgs" > > would install all the ptests for me in my image, apparently I am wrong but > could you please explain to me why this is not the case i.e why ptests are > not automatically installed in the image even though I included the above > lines in my local.conf ? Please note that ptests are only supported by a (small) subset of recipes. If none of the packages that are in your image are ptest-enabled, then no ptests will go to the image. Is there a recipe in particular for which you expected ptests to be in the image, and they're not? Alex
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto