mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 23:36:21 +01:00
python3-propcache: enable ptest
- Tested on qemux86-64 and qemuarm64 - Added ptest to PTESTS_FAST_META_PYTHON Ptest result: ============= qemux86-64: Testsuite summary TOTAL: 37 PASS: 37 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 7 END: /usr/lib/python3-propcache/ptest 2024-10-11T08:21 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 37 PASS: 37 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 6 END: /usr/lib/python3-propcache/ptest 2024-10-11T08:16 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
de34d6fefa
commit
6f49be3368
|
|
@ -49,6 +49,7 @@ PTESTS_FAST_META_PYTHON = "\
|
||||||
python3-portalocker \
|
python3-portalocker \
|
||||||
python3-precise-runner \
|
python3-precise-runner \
|
||||||
python3-prettytable \
|
python3-prettytable \
|
||||||
|
python3-propcache \
|
||||||
python3-pydantic \
|
python3-pydantic \
|
||||||
python3-pydantic-core \
|
python3-pydantic-core \
|
||||||
python3-pylint \
|
python3-pylint \
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pytest --automake
|
||||||
|
|
@ -5,9 +5,24 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "df81779732feb9d01e5d513fad0122efb3d53bbc75f61b2a4f29a020bc985e70"
|
SRC_URI[sha256sum] = "df81779732feb9d01e5d513fad0122efb3d53bbc75f61b2a4f29a020bc985e70"
|
||||||
|
|
||||||
inherit pypi python_setuptools_build_meta
|
inherit pypi python_setuptools_build_meta ptest
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
DEPENDS += " \
|
DEPENDS += " \
|
||||||
python3-expandvars-native \
|
python3-expandvars-native \
|
||||||
python3-cython-native \
|
python3-cython-native \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
RDEPENDS:${PN}-ptest = " \
|
||||||
|
python3-pytest \
|
||||||
|
python3-pytest-xdist \
|
||||||
|
python3-unittest-automake-output \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user