summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyzmq
diff options
context:
space:
mode:
authorJan Vermaete <jan.vermaete@gmail.com>2022-07-24 16:33:26 +0200
committerKhem Raj <raj.khem@gmail.com>2022-07-26 10:38:42 -0400
commitb7e69905fbc8e4a0e417d360a1702487c9f0936e (patch)
treee6be34191e2eb234210a671ca624b7da4eb00e9e /meta-python/recipes-devtools/python/python3-pyzmq
parentf5645ac7212b92c6ec04ebc82d19dbd223896fd8 (diff)
downloadmeta-openembedded-b7e69905fbc8e4a0e417d360a1702487c9f0936e.tar.gz
python3-pyzmq: added ptest
And update the summary and description from the github website. Two tests are failing because cython is not installed. But this is the same when running pytest under a native Linux system. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyzmq')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyzmq/run-ptest3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
new file mode 100644
index 0000000000..b63c4de0d9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3pytest -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}}'