mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-17 17:36:30 +00:00
python3-webcolors: 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
e4a1287bf1
commit
e36ff205b2
@ -10,3 +10,17 @@ RDEPENDS_${PN}_class-target = "\
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
inherit ptest
|
||||
|
||||
RDEPENDS_${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
}
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
pytest
|
||||
Loading…
x
Reference in New Issue
Block a user