diff options
author | Derek Straka <derek@asterius.io> | 2017-11-29 13:59:48 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-12-11 07:58:57 -0800 |
commit | 72ba5a366410789ef45311be4c36a079941fa037 (patch) | |
tree | dfd1fbdcb7529de27e5fefc2242d8ca404a28ec7 /meta-python | |
parent | 8a5f9f883cc693f157073ba18fccea7b5d99d406 (diff) | |
download | meta-openembedded-contrib-72ba5a366410789ef45311be4c36a079941fa037.tar.gz |
python-simplejson: add the tests into their own package
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-simplejson.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-simplejson.inc b/meta-python/recipes-devtools/python/python-simplejson.inc index 7f436f27ed..50524f3597 100644 --- a/meta-python/recipes-devtools/python/python-simplejson.inc +++ b/meta-python/recipes-devtools/python/python-simplejson.inc @@ -15,3 +15,10 @@ RDEPENDS_${PN} += "\ ${PYTHON_PN}-netserver \ ${PYTHON_PN}-numbers \ " + +PACKAGES =+ "${PN}-tests" +RDEPENDS_${PN}-tests = "${PN} ${PYTHON_PN}-unittest" +FILES_${PN}-tests+= " \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tests \ + ${PYTHON_SITEPACKAGES_DIR}/simplejson/tool.py* \ +" |