diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-05-12 22:26:36 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2020-05-17 14:46:14 -0700 |
commit | 10c4c22708498347b1199b377b51a70ea1d1e545 (patch) | |
tree | f4569adf3c302523d581d7cea268ae6a08bd7a2e /meta-python | |
parent | 30216566deba65c3f3aa23c47264a3362a284296 (diff) | |
download | meta-openembedded-10c4c22708498347b1199b377b51a70ea1d1e545.tar.gz |
python3-ptyprocess: 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 e4213de6504c2a021380c7f41dadf64d98c53b0f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest index 27c9e59c82..15c3f6282d 100644 --- a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest +++ b/meta-python/recipes-devtools/python/python3-ptyprocess/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}}' |