mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 08:04:46 +00:00
python3-pydantic-core: enable ptest
* Add to ptest-packagelists-meta-python.inc "FAST" under 30 seconds Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
e592a8ce9a
commit
446124784b
@ -27,6 +27,7 @@ PTESTS_FAST_META_PYTHON = "\
|
|||||||
python3-polyline \
|
python3-polyline \
|
||||||
python3-precise-runner \
|
python3-precise-runner \
|
||||||
python3-prettytable \
|
python3-prettytable \
|
||||||
|
python3-pydantic-core \
|
||||||
python3-pylint \
|
python3-pylint \
|
||||||
python3-ptyprocess \
|
python3-ptyprocess \
|
||||||
python3-py-cpuinfo \
|
python3-py-cpuinfo \
|
||||||
|
|||||||
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pytest --automake
|
||||||
@ -23,3 +23,18 @@ PYPI_ARCHIVE_NAME = "pydantic_core-${PV}.${PYPI_PACKAGE_EXT}"
|
|||||||
RDEPENDS:${PN} += "python3-typing-extensions"
|
RDEPENDS:${PN} += "python3-typing-extensions"
|
||||||
|
|
||||||
INSANE_SKIP:${PN} = "already-stripped"
|
INSANE_SKIP:${PN} = "already-stripped"
|
||||||
|
|
||||||
|
inherit ptest
|
||||||
|
SRC_URI += "file://run-ptest"
|
||||||
|
RDEPENDS:${PN}-ptest += "\
|
||||||
|
python3-dirty-equals \
|
||||||
|
python3-hypothesis \
|
||||||
|
python3-pytest \
|
||||||
|
python3-pytest-mock \
|
||||||
|
python3-unittest-automake-output \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
|
||||||
|
rm -rf ${D}${PTEST_PATH}/tests/benchmarks
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user