mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
python3-parse: 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
59438f43e4
commit
ee2735b3c0
|
|
@ -6,9 +6,21 @@ LIC_FILES_CHKSUM = "file://parse.py;beginline=1325;endline=1345;md5=3d987b2e7388
|
||||||
SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4"
|
SRC_URI[md5sum] = "a5aa82b2b8b4d733d227e3c99d7d01b4"
|
||||||
SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0"
|
SRC_URI[sha256sum] = "a6d4e2c2f1fbde6717d28084a191a052950f758c0cbd83805357e6575c2b95c0"
|
||||||
|
|
||||||
inherit pypi
|
inherit pypi ptest
|
||||||
|
|
||||||
RDEPENDS_${PN} += "\
|
RDEPENDS_${PN} += "\
|
||||||
${PYTHON_PN}-datetime \
|
${PYTHON_PN}-datetime \
|
||||||
${PYTHON_PN}-logging \
|
${PYTHON_PN}-logging \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
pytest
|
||||||
Loading…
Reference in New Issue
Block a user