diff options
| author | Tim Orling <ticotimo@gmail.com> | 2024-03-27 15:16:35 +0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2024-04-28 13:10:23 -0400 |
| commit | b0e6f9c1de07fe3456e9e5902174719f56b086f1 (patch) | |
| tree | 2ea55b0a234a964fc7cffd8531a648c5a9516d97 /meta-python/recipes-devtools/python/python3-pyyaml-include | |
| parent | c944af7d5761b77ea91f1e11ba4cdab5196c7806 (diff) | |
| download | meta-openembedded-b0e6f9c1de07fe3456e9e5902174719f56b086f1.tar.gz | |
python3-pyyaml-include: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 182f31a182f6572a3538b875cec7ee761e2da1e6)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyyaml-include')
| -rwxr-xr-x | meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest index 3385d68939..8d2017d39c 100755 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 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}}' | 3 | pytest --automake |
