All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe] [meta-python] [PATCH] python3-pyasn1: Modify ptest output format
@ 2020-05-12 14:26 zangrc
  0 siblings, 0 replies; only message in thread
From: zangrc @ 2020-05-12 14:26 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 meta-python/recipes-devtools/python/python3-pyasn1/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}}'
-- 
2.17.1




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-12  5:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 14:26 [oe] [meta-python] [PATCH] python3-pyasn1: Modify ptest output format zangrc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.