diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-whoosh.inc | 16 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-whoosh/run-ptest | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-whoosh.inc b/meta-python/recipes-devtools/python/python-whoosh.inc index 040b32458f..b059b8d38c 100644 --- a/meta-python/recipes-devtools/python/python-whoosh.inc +++ b/meta-python/recipes-devtools/python/python-whoosh.inc | |||
| @@ -22,3 +22,19 @@ RDEPENDS_${PN} += " \ | |||
| 22 | ${PYTHON_PN}-shell \ | 22 | ${PYTHON_PN}-shell \ |
| 23 | ${PYTHON_PN}-stringold \ | 23 | ${PYTHON_PN}-stringold \ |
| 24 | " | 24 | " |
| 25 | |||
| 26 | SRC_URI += " \ | ||
| 27 | file://run-ptest \ | ||
| 28 | " | ||
| 29 | |||
| 30 | inherit ptest | ||
| 31 | |||
| 32 | RDEPENDS_${PN}-ptest += " \ | ||
| 33 | ${PYTHON_PN}-pytest \ | ||
| 34 | ${PYTHON_PN}-fcntl \ | ||
| 35 | " | ||
| 36 | |||
| 37 | do_install_ptest() { | ||
| 38 | install -d ${D}${PTEST_PATH}/tests | ||
| 39 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 40 | } | ||
diff --git a/meta-python/recipes-devtools/python/python3-whoosh/run-ptest b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest new file mode 100644 index 0000000000..40c284799d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-whoosh/run-ptest | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | pytest | ||
