diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-ptyprocess.inc')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-ptyprocess.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-ptyprocess.inc b/meta-python/recipes-devtools/python/python-ptyprocess.inc index 49cc5a4321..0cc9114754 100644 --- a/meta-python/recipes-devtools/python/python-ptyprocess.inc +++ b/meta-python/recipes-devtools/python/python-ptyprocess.inc | |||
| @@ -18,3 +18,21 @@ RDEPENDS_${PN} = "\ | |||
| 18 | " | 18 | " |
| 19 | 19 | ||
| 20 | BBCLASSEXTEND = "native nativesdk" | 20 | BBCLASSEXTEND = "native nativesdk" |
| 21 | |||
| 22 | inherit ptest | ||
| 23 | |||
| 24 | SRC_URI += " \ | ||
| 25 | file://run-ptest \ | ||
| 26 | " | ||
| 27 | |||
| 28 | RDEPENDS_${PN}-ptest += " \ | ||
| 29 | ${PYTHON_PN}-pytest \ | ||
| 30 | ${PYTHON_PN}-fcntl \ | ||
| 31 | ${PYTHON_PN}-terminal \ | ||
| 32 | ${PYTHON_PN}-resource \ | ||
| 33 | " | ||
| 34 | |||
| 35 | do_install_ptest() { | ||
| 36 | install -d ${D}${PTEST_PATH}/tests | ||
| 37 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 38 | } | ||
