mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 16:47:13 +00:00
python3-ordered-set: Enable ptest
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pytest test.py
|
||||||
@@ -6,6 +6,18 @@ LIC_FILES_CHKSUM = "file://MIT-LICENSE;md5=2b36be0d99854aa2ae292a800a7c1d4e"
|
|||||||
SRC_URI[md5sum] = "6e12312c8dc4c90fe840e86e8a352644"
|
SRC_URI[md5sum] = "6e12312c8dc4c90fe840e86e8a352644"
|
||||||
SRC_URI[sha256sum] = "a7bfa858748c73b096e43db14eb23e2bc714a503f990c89fac8fab9b0ee79724"
|
SRC_URI[sha256sum] = "a7bfa858748c73b096e43db14eb23e2bc714a503f990c89fac8fab9b0ee79724"
|
||||||
|
|
||||||
inherit pypi setuptools3
|
inherit pypi setuptools3 ptest
|
||||||
|
|
||||||
DEPENDS += "python3-pytest-runner-native"
|
DEPENDS += "python3-pytest-runner-native"
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
cp -f ${S}/test.py ${D}${PTEST_PATH}/
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user