python3-multidict: Fix running ptests

Add missing runtime dependency on pytest-cov
and move the test to PTESTS_FAST_META_PYTHON since it takes < 20 seconds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-01-20 22:05:20 -08:00
parent 919cfc554a
commit 9953ca1ac0
No known key found for this signature in database
GPG Key ID: BB053355919D3314
3 changed files with 3 additions and 3 deletions

View File

@ -22,6 +22,7 @@ PTESTS_FAST_META_PYTHON = "\
python3-intervals \
python3-ipy \
python3-iso3166 \
python3-multidict \
python3-parse-type \
python3-platformdirs \
python3-polyline \
@ -71,7 +72,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
python3-jsmin \
python3-license-expression \
python3-msgpack \
python3-multidict \
python3-ordered-set \
python3-parse \
python3-pillow \

View File

@ -1,3 +1,2 @@
#!/bin/sh
pytest
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'

View File

@ -19,6 +19,7 @@ SRC_URI += " \
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
${PYTHON_PN}-pytest-cov \
"
do_install_ptest() {