diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
-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() { |