mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
python3-tzdata: enable ptest
Add to ptest-packagelists-meta-python.inc META_PYTHON_PTESTS_FAST
Install ${S}/VERSION to PTEST_PATH for test_version
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a580ee3246
commit
447369b01e
|
|
@ -74,6 +74,7 @@ PTESTS_FAST_META_PYTHON = "\
|
|||
python3-tomlkit \
|
||||
python3-trustme \
|
||||
python3-typeguard \
|
||||
python3-tzdata \
|
||||
python3-ujson \
|
||||
python3-u-msgpack-python \
|
||||
python3-unidiff \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake
|
||||
|
|
@ -8,3 +8,17 @@ SRC_URI[sha256sum] = "2674120f8d891909751c38abcdfd386ac0a5a1127954fbc332af6b5cea
|
|||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
|
||||
inherit ptest
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
python3-pytest \
|
||||
python3-pytest-subtests \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
||||
install ${S}/VERSION ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user