summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-ptyprocess.inc18
-rw-r--r--meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest3
2 files changed, 21 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}
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest
new file mode 100644
index 0000000000..27c9e59c82
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest