From 28f7192a541928fc91df41a166161412956cefe4 Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Tue, 12 May 2020 22:27:18 +0800 Subject: python3-pyasn1-modules: Modify ptest output format Signed-off-by: Zang Ruochen Signed-off-by: Khem Raj (cherry picked from commit 7b39cd7ad26bee0f71c3d7ea3bd6ed8848ab1871) Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest index 5cec711696..b63c4de0d9 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules/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}}' -- cgit 1.2.3-korg