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>
This commit is contained in:
Derek Straka
2017-11-29 13:59:48 -05:00
committed by Armin Kuster
parent 8a5f9f883c
commit 72ba5a3664

View File

@@ -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* \
"