diff options
| author | jmbills <42755197+jmbills@users.noreply.github.com> | 2020-07-11 02:37:34 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-11 02:37:34 +0300 |
| commit | 2a11ae52fca0d1c0e12b4f18da637645eecc213c (patch) | |
| tree | 05a1d365e0faa6ce8570b2d0c2d0f100dc8df1d4 /meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest | |
| parent | efa39df15c70a1ab300cfa87e9895d5ee1feb5be (diff) | |
| parent | d071adf43ac87f21dde2f84287120960c723962c (diff) | |
| download | openbmc-2a11ae52fca0d1c0e12b4f18da637645eecc213c.tar.xz | |
Merge pull request #44 from Intel-BMC/update
Update
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest')
| -rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest new file mode 100644 index 000000000..3385d6893 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +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}}' |
