mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
python3-uritools: enable ptest
Install the test suite and run it in core-image-ptest-fast. (From OE-Core rev: 579675d773f52c877e50aafc59b5571ac5d6a0ba) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
194e1cebe2
commit
1a93f261d7
@@ -71,6 +71,7 @@ PTESTS_FAST = "\
|
||||
python3-pyyaml \
|
||||
python3-rpds-py \
|
||||
python3-trove-classifiers \
|
||||
python3-uritools \
|
||||
python3-wcwidth \
|
||||
python3-webcolors \
|
||||
qemu \
|
||||
|
||||
3
meta/recipes-devtools/python/python3-uritools/run-ptest
Normal file
3
meta/recipes-devtools/python/python3-uritools/run-ptest
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
@@ -6,6 +6,17 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ec55353c80c662e4255f8889a0ca558"
|
||||
|
||||
SRC_URI[sha256sum] = "04df2b787d0eb76200e8319382a03562fbfe4741fd66c15506b08d3b8211d573"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest
|
||||
|
||||
do_install_ptest() {
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user