summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-01-20 22:05:20 -0800
committerKhem Raj <raj.khem@gmail.com>2024-01-21 12:37:12 -0800
commit9953ca1ac0bf5747aaa664d25a6c06f7f0ad2446 (patch)
tree1ae7389aee5182102ee3a9c83690e4b879dd320d /meta-python/recipes-devtools/python
parent919cfc554ad0884738b9fb1e25c2699ed5c63f3e (diff)
downloadmeta-openembedded-9953ca1ac0bf5747aaa664d25a6c06f7f0ad2446.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-multidict/run-ptest3
-rw-r--r--meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb1
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/meta-python/recipes-devtools/python/python3-multidict/run-ptest
index 5cec711696..e4f3b623ab 100644
--- a/meta-python/recipes-devtools/python/python3-multidict/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-multidict/run-ptest
@@ -1,3 +1,2 @@
1#!/bin/sh 1#!/bin/sh
2 2pytest -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}}'
3pytest
diff --git a/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb b/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb
index 23d3eb3155..b057e05f65 100644
--- a/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb
@@ -19,6 +19,7 @@ SRC_URI += " \
19 19
20RDEPENDS:${PN}-ptest += " \ 20RDEPENDS:${PN}-ptest += " \
21 ${PYTHON_PN}-pytest \ 21 ${PYTHON_PN}-pytest \
22 ${PYTHON_PN}-pytest-cov \
22" 23"
23 24
24do_install_ptest() { 25do_install_ptest() {