aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2020-05-12 22:26:42 +0800
committerArmin Kuster <akuster808@gmail.com>2020-05-17 14:46:14 -0700
commit2762e6e1142dd6c64437bb2d1c68c70e2dd7d3c8 (patch)
tree84b3c775744349ec5d37234a044bc72a4a98a0d0 /meta-python
parent10c4c22708498347b1199b377b51a70ea1d1e545 (diff)
downloadmeta-openembedded-2762e6e1142dd6c64437bb2d1c68c70e2dd7d3c8.tar.gz
meta-openembedded-2762e6e1142dd6c64437bb2d1c68c70e2dd7d3c8.tar.bz2
meta-openembedded-2762e6e1142dd6c64437bb2d1c68c70e2dd7d3c8.zip
python3-pyasn1: Modify ptest output format
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 4f8809a1f7337f686fa112e1b224f4f8132983ad) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pyasn1/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest
index 5cec71169..b63c4de0d 100644
--- a/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest
@@ -1,3 +1,3 @@
#!/bin/sh
-pytest
+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}}'