diff options
| author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-04-02 09:38:32 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-04-01 23:32:54 -0700 |
| commit | 9a156a9f064b54f0d43e08ebd8128c5641eac510 (patch) | |
| tree | 1fd3bfb265b74bdb2cb9f653da1d2443a18909ef /meta-python/recipes-devtools/python/python-pluggy.inc | |
| parent | 1fed24e60373866e13ceb12157575c4e09d5f261 (diff) | |
| download | meta-openembedded-9a156a9f064b54f0d43e08ebd8128c5641eac510.tar.gz | |
python3-pluggy: 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-pluggy.inc')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-pluggy.inc | 15 |
1 files changed, 14 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 | } | ||
