mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-27 08:29:27 +00:00
python3-pluggy: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
1fed24e603
commit
9a156a9f06
@ -11,4 +11,17 @@ RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
|
|||||||
${PYTHON_PN}-more-itertools \
|
${PYTHON_PN}-more-itertools \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit pypi
|
inherit pypi ptest
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/testing
|
||||||
|
cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
|
||||||
|
}
|
||||||
|
|||||||
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
pytest
|
||||||
Loading…
x
Reference in New Issue
Block a user