diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-04-26 15:22:04 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-27 07:48:46 -0700 |
commit | 91643f6965edd13dfab75a29bbadfa64dd0f3a77 (patch) | |
tree | 3446020bfe02ff0289e29ce2cc0c793b7f850cb2 | |
parent | dae69a99c49e801b3771311ea55294eca265cca8 (diff) | |
download | meta-openembedded-91643f6965edd13dfab75a29bbadfa64dd0f3a77.tar.gz |
python3-xxhash: Modify ptest output format
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-xxhash/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-xxhash/run-ptest b/meta-python/recipes-devtools/python/python3-xxhash/run-ptest index 6a26348b18..e398fa8ca0 100644 --- a/meta-python/recipes-devtools/python/python3-xxhash/run-ptest +++ b/meta-python/recipes-devtools/python/python3-xxhash/run-ptest | |||
@@ -1,3 +1,3 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | pytest tests/test.py | 3 | pytest tests/test.py -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/SKIPED/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}}' |