diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-04-26 15:21:59 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-27 07:48:46 -0700 |
commit | 1efe4446eb4dbdb0ae5de7709b3577185c2d01cd (patch) | |
tree | 8ccf4577941fd758f906a04cf1f992e2a3a68a75 /meta-python/recipes-devtools/python/python3-sqlparse | |
parent | c2d482cfcf199c664d8b63a6e9246863e8ff193a (diff) | |
download | meta-openembedded-1efe4446eb4dbdb0ae5de7709b3577185c2d01cd.tar.gz |
python3-sqlparse: 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-sqlparse')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-sqlparse/run-ptest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest index 40c284799..3385d6893 100644 --- a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +++ b/meta-python/recipes-devtools/python/python3-sqlparse/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/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}}' | ||