diff options
author | zhengruoqin <zhengrq.fnst@cn.fujitsu.com> | 2020-04-30 18:27:39 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-03 14:29:17 -0700 |
commit | 3da9944d0a39e66c2ebdd276778e8ec32f25feac (patch) | |
tree | a03b3e0e0c43d0416e8bc9bc17b1dac01641fbef | |
parent | d188161783030fa190effec34c7dc25ea7a7171b (diff) | |
download | meta-openembedded-3da9944d0a39e66c2ebdd276778e8ec32f25feac.tar.gz |
python3-pytoml: Modify ptest output format
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pytoml/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest index 5cec711696..b63c4de0d9 100644 --- a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | pytest | 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}}' |