diff options
author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:15:06 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:33 -0800 |
commit | a600e4bb3c7091ca5f172165a0e61f508cb6d8d5 (patch) | |
tree | 8109d1738c6a259007077b48c4c285f260f1efda | |
parent | 4a392ddd3b279de96597f93de9e11b051cdebde5 (diff) | |
download | meta-openembedded-a600e4bb3c7091ca5f172165a0e61f508cb6d8d5.tar.gz |
python3-asgiref: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
* Sort RDEPENDS for ptest alphabetically
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-asgiref/run-ptest | 2 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest index 3385d68939..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-asgiref/run-ptest +++ b/meta-python/recipes-devtools/python/python3-asgiref/run-ptest | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | 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/SKIPED/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 --automake |
diff --git a/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb b/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb index c9081c8cbb..b7fa9f0360 100644 --- a/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb +++ b/meta-python/recipes-devtools/python/python3-asgiref_3.7.2.bb | |||
@@ -15,10 +15,11 @@ export HOST_SYS | |||
15 | inherit pypi ptest setuptools3 | 15 | inherit pypi ptest setuptools3 |
16 | 16 | ||
17 | RDEPENDS:${PN}-ptest += " \ | 17 | RDEPENDS:${PN}-ptest += " \ |
18 | ${PYTHON_PN}-pytest \ | 18 | python3-asyncio \ |
19 | ${PYTHON_PN}-asyncio \ | 19 | python3-io \ |
20 | ${PYTHON_PN}-io \ | 20 | python3-multiprocessing \ |
21 | ${PYTHON_PN}-multiprocessing \ | 21 | python3-pytest \ |
22 | python3-unittest-automake-output \ | ||
22 | " | 23 | " |
23 | 24 | ||
24 | do_install_ptest() { | 25 | do_install_ptest() { |