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"

This expands (via -e) to:
  # $FILES_python-matplotlib-tests
  #   rename from FILES_${PN}-tests data.py:170 [expandKeys]
  #     "${libdir}/python*/site-packages/matplotlib/test*"
  
FILES_python-matplotlib-tests="/usr/lib/python*/site-packages/matplotlib/test*"

When I look at the installed image, I see this:
  # ls /usr/lib/python*/site-packages/matplotlib/test*
  /usr/lib/python2.7/site-packages/matplotlib/testing:
  __init__.py   compare.pyc     image_util.py   noseclasses.py
  __init__.pyc  decorators.py   image_util.pyc  noseclasses.pyc
  compare.py    decorators.pyc  jpl_units

  /usr/lib/python2.7/site-packages/matplotlib/tests:
  __init__.py                test_colorbar.py         test_png.py
  __init__.pyc               test_colorbar.pyc        test_png.pyc
  baseline_images            test_colors.py           test_quiver.py
           ...

It all looks correct to me, but the -tests package is empty.

I'm sure I'm making some silly/rookie mistake.  Any pointers?

Thanks

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to