diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc b/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc index 07e896d2d1..09384dae17 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc +++ b/meta-openembedded/meta-python/recipes-devtools/python/python-prettytable.inc @@ -23,3 +23,16 @@ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/" UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P<pver>(\d+[\.\-_]*)+)" BBCLASSEXTEND = "native nativesdk" +inherit ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/prettytable_test.py ${D}${PTEST_PATH}/ +} |