diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-05-12 22:26:42 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-05-12 12:33:42 -0700 |
commit | 4f8809a1f7337f686fa112e1b224f4f8132983ad (patch) | |
tree | 3acf7bfc0b03807a06adae835ab8626e984c702a /meta-python/recipes-devtools/python/python3-pyasn1 | |
parent | e4213de6504c2a021380c7f41dadf64d98c53b0f (diff) | |
download | meta-openembedded-4f8809a1f7337f686fa112e1b224f4f8132983ad.tar.gz |
python3-pyasn1: Modify ptest output format
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyasn1')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyasn1/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest index 5cec71169..b63c4de0d 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyasn1/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}}' |