diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-01-20 22:05:20 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-01-21 12:37:12 -0800 |
| commit | 9953ca1ac0bf5747aaa664d25a6c06f7f0ad2446 (patch) | |
| tree | 1ae7389aee5182102ee3a9c83690e4b879dd320d /meta-python | |
| parent | 919cfc554ad0884738b9fb1e25c2699ed5c63f3e (diff) | |
| download | meta-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')
3 files changed, 3 insertions, 3 deletions
diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 2c75d511b3..44507b394e 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc | |||
| @@ -22,6 +22,7 @@ PTESTS_FAST_META_PYTHON = "\ | |||
| 22 | python3-intervals \ | 22 | python3-intervals \ |
| 23 | python3-ipy \ | 23 | python3-ipy \ |
| 24 | python3-iso3166 \ | 24 | python3-iso3166 \ |
| 25 | python3-multidict \ | ||
| 25 | python3-parse-type \ | 26 | python3-parse-type \ |
| 26 | python3-platformdirs \ | 27 | python3-platformdirs \ |
| 27 | python3-polyline \ | 28 | python3-polyline \ |
| @@ -71,7 +72,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\ | |||
| 71 | python3-jsmin \ | 72 | python3-jsmin \ |
| 72 | python3-license-expression \ | 73 | python3-license-expression \ |
| 73 | python3-msgpack \ | 74 | python3-msgpack \ |
| 74 | python3-multidict \ | ||
| 75 | python3-ordered-set \ | 75 | python3-ordered-set \ |
| 76 | python3-parse \ | 76 | python3-parse \ |
| 77 | python3-pillow \ | 77 | python3-pillow \ |
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 | 2 | 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}}' | |
| 3 | pytest | ||
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 | ||
| 20 | RDEPENDS:${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
| 21 | ${PYTHON_PN}-pytest \ | 21 | ${PYTHON_PN}-pytest \ |
| 22 | ${PYTHON_PN}-pytest-cov \ | ||
| 22 | " | 23 | " |
| 23 | 24 | ||
| 24 | do_install_ptest() { | 25 | do_install_ptest() { |
