mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 15:25:53 +01:00
python3-pytoml: 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
d9131303dd
commit
355f3480b4
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pytest
|
||||||
|
|
@ -7,6 +7,19 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078"
|
||||||
SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b"
|
SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b"
|
||||||
SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7"
|
SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7"
|
||||||
|
|
||||||
inherit pypi setuptools3
|
inherit pypi setuptools3 ptest
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/test
|
||||||
|
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user