diff options
| author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:15:21 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:35 -0800 |
| commit | 6ec5fc10743dd23c9a0128227a71b73110b3856c (patch) | |
| tree | d0c5df6940e72ba1b9e33d38c80ed84e4a96cbc9 /meta-python/recipes-devtools/python | |
| parent | 2122299d9d3c3faf217dd37de22454cd398189e3 (diff) | |
| download | meta-openembedded-6ec5fc10743dd23c9a0128227a71b73110b3856c.tar.gz | |
python3-pyzmq: 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/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzmq/run-ptest | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyzmq/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/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 --automake |
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb index 658dbe6e25..5793db55f6 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb | |||
| @@ -26,13 +26,14 @@ FILES:${PN}-test += "\ | |||
| 26 | " | 26 | " |
| 27 | 27 | ||
| 28 | RDEPENDS:${PN} += "\ | 28 | RDEPENDS:${PN} += "\ |
| 29 | ${PYTHON_PN}-json \ | 29 | python3-json \ |
| 30 | ${PYTHON_PN}-multiprocessing \ | 30 | python3-multiprocessing \ |
| 31 | " | 31 | " |
| 32 | 32 | ||
| 33 | RDEPENDS:${PN}-ptest += "\ | 33 | RDEPENDS:${PN}-ptest += "\ |
| 34 | ${PN}-test \ | 34 | ${PN}-test \ |
| 35 | ${PYTHON_PN}-pytest \ | 35 | python3-pytest \ |
| 36 | python3-unittest-automake-output \ | ||
| 36 | " | 37 | " |
| 37 | 38 | ||
| 38 | do_compile:prepend() { | 39 | do_compile:prepend() { |
