diff options
author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:15:22 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:35 -0800 |
commit | 2a628d6898f319c594dd4f436c51de66cbd5d7fc (patch) | |
tree | 1273e04faec8da0f8820473f7cc1c8bafbc49978 /meta-python | |
parent | 6ec5fc10743dd23c9a0128227a71b73110b3856c (diff) | |
download | meta-openembedded-2a628d6898f319c594dd4f436c51de66cbd5d7fc.tar.gz |
python3-multidict: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-multidict/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/meta-python/recipes-devtools/python/python3-multidict/run-ptest b/meta-python/recipes-devtools/python/python3-multidict/run-ptest index e4f3b623ab..d74acaf564 100644 --- a/meta-python/recipes-devtools/python/python3-multidict/run-ptest +++ b/meta-python/recipes-devtools/python/python3-multidict/run-ptest | |||
@@ -1,2 +1,2 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
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}}' | 2 | pytest --automake |
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 b057e05f65..19b94dee02 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 | |||
@@ -18,8 +18,9 @@ SRC_URI += " \ | |||
18 | " | 18 | " |
19 | 19 | ||
20 | RDEPENDS:${PN}-ptest += " \ | 20 | RDEPENDS:${PN}-ptest += " \ |
21 | ${PYTHON_PN}-pytest \ | 21 | python3-pytest \ |
22 | ${PYTHON_PN}-pytest-cov \ | 22 | python3-pytest-cov \ |
23 | python3-unittest-automake-output \ | ||
23 | " | 24 | " |
24 | 25 | ||
25 | do_install_ptest() { | 26 | do_install_ptest() { |