summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-ptyprocess.inc
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-04-11 08:42:02 +0800
committerKhem Raj <raj.khem@gmail.com>2020-04-10 17:48:38 -0700
commit00f298cf46954447b30b24c8e65d4625c16ce626 (patch)
tree344b6a4856897488bfea7302a408f72a1f0c9502 /meta-python/recipes-devtools/python/python-ptyprocess.inc
parent8a078a9d619f68a6563eba72823fe7398a295dd6 (diff)
downloadmeta-openembedded-00f298cf46954447b30b24c8e65d4625c16ce626.tar.gz
python3-ptyprocess: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-ptyprocess.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-ptyprocess.inc18
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
20BBCLASSEXTEND = "native nativesdk" 20BBCLASSEXTEND = "native nativesdk"
21
22inherit ptest
23
24SRC_URI += " \
25 file://run-ptest \
26"
27
28RDEPENDS_${PN}-ptest += " \
29 ${PYTHON_PN}-pytest \
30 ${PYTHON_PN}-fcntl \
31 ${PYTHON_PN}-terminal \
32 ${PYTHON_PN}-resource \
33"
34
35do_install_ptest() {
36 install -d ${D}${PTEST_PATH}/tests
37 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
38}