mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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:
parent
919cfc554a
commit
9953ca1ac0
@ -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 \
|
||||
|
||||
@ -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}}'
|
||||
|
||||
@ -19,6 +19,7 @@ SRC_URI += " \
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-pytest-cov \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user