diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-pluggy.inc | 15 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pluggy/run-ptest | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python-pluggy.inc b/meta-python/recipes-devtools/python/python-pluggy.inc index 7585984dbb..1198d5f740 100644 --- a/meta-python/recipes-devtools/python/python-pluggy.inc +++ b/meta-python/recipes-devtools/python/python-pluggy.inc | |||
| @@ -11,4 +11,17 @@ RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \ | |||
| 11 | ${PYTHON_PN}-more-itertools \ | 11 | ${PYTHON_PN}-more-itertools \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | inherit pypi | 14 | inherit pypi ptest |
| 15 | |||
| 16 | SRC_URI += " \ | ||
| 17 | file://run-ptest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | install -d ${D}${PTEST_PATH}/testing | ||
| 26 | cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/ | ||
| 27 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-pluggy/run-ptest b/meta-python/recipes-devtools/python/python3-pluggy/run-ptest new file mode 100644 index 0000000000..40c284799d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pluggy/run-ptest | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | pytest | ||
