* Gary Thomas <g...@mlbassoc.com> [141028 15:06]:
> I'm trying to split out some tests from a packages by adding these lines the 
> recipe:
>    PACKAGES += " ${PN}-tests"
>    FILES_${PN}-tests = "${libdir}/python*/site-packages/matplotlib/test*"
>    RDEPENDS_${PN}-tests += " python-nose"
...
> It all looks correct to me, but the -tests package is empty.

I'd guess that the files get picked up in ${PN}, right?

If so, you'll likely need to prepend PACKAGES instead of appending to
it: 
PACKAGES =+ " ${PN}-tests"

The first package in PACKAGES that can grab a file will do that...

Hopefully this will help you...

Cheers,
Anders
-- 
Anders Darander
ChargeStorm AB / eStorm AB
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to