From b0e6f9c1de07fe3456e9e5902174719f56b086f1 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Wed, 27 Mar 2024 15:16:35 +0800 Subject: python3-pyyaml-include: switch to pytest --automake * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling Signed-off-by: Khem Raj (cherry picked from commit 182f31a182f6572a3538b875cec7ee761e2da1e6) Signed-off-by: Mingli Yu Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-pyyaml-include') 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 @@ #!/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}}' +pytest --automake -- cgit v1.2.3-54-g00ecf