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