[yocto] ptest-runner "No ptests found."
Nader Hariri
nader.hariri at hotmail.com
Tue Aug 21 00:54:55 PDT 2018
ok, so I changed my local.conf from IMAGE_FEATURES_append = " ptest-pkgs" to EXTRA_IMAGE_FEATURES = "ptest-pkgs", here are the logs:
# $IMAGE_FEATURES [3 operations]
# set? /home/nader/poky-docker/workdir/poky/meta/conf/distro/include/default-distrovars.inc:23
# ""
# set /home/nader/poky-docker/workdir/poky/meta/conf/documentation.conf:210
# [doc] "The primary list of features to include in an image. Configure this variable in an image recipe."
# append /home/nader/poky-docker/workdir/poky/meta/conf/bitbake.conf:806
# "${EXTRA_IMAGE_FEATURES}"
# pre-expansion value:
# " ${EXTRA_IMAGE_FEATURES}"
IMAGE_FEATURES=" ptest-pkgs"
As we can see, I still have the suspicious space but it has shrunk from 2 spaces to 1 space. And -ptest packages didn't get installed in my image.
Nader
________________________________
De : Alexander Kanavin <alex.kanavin at gmail.com>
Envoyé : lundi 20 août 2018 16:54
À : Nader Hariri
Cc : yocto at yoctoproject.org
Objet : Re: [yocto] ptest-runner "No ptests found."
2018-08-20 15:36 GMT+02:00 Nader Hariri <nader.hariri at hotmail.com>:
> I ran 'bitbake -e <image>' as you have suggested. I can see from the logs
> that the variable IMAGE_FEATURES does get appended the value of
> ${EXTRA_IMAGE_FEATURES}, however I still have no -ptest packages in my
> image. Is there anything wrong in my logs?
>
>
> # $IMAGE_FEATURES [3 operations]
> # set?
> /home/nader/poky-docker/workdir/poky/meta/conf/distro/include/default-distrovars.inc:23
> # ""
> # set
> /home/nader/poky-docker/workdir/poky/meta/conf/documentation.conf:210
> # [doc] "The primary list of features to include in an image. Configure
> this variable in an image recipe."
> # append /home/nader/poky-docker/workdir/poky/meta/conf/bitbake.conf:806
> # "${EXTRA_IMAGE_FEATURES}"
> # pre-expansion value:
> # " ${EXTRA_IMAGE_FEATURES}"
> IMAGE_FEATURES=" ptest-pkgs"
The space looks suspicious in there. Can you try to set
EXTRA_IMAGE_FEATURES directly with = instead of appending to it?
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180821/05275dff/attachment-0001.html>
More information about the yocto
mailing list