summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-requests-file/run-ptest
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2024-02-16 16:14:59 -0800
committerKhem Raj <raj.khem@gmail.com>2024-02-16 16:42:32 -0800
commite53f237ba4576adbe54ba4f6e72d1d662a5a8729 (patch)
tree2eff5d7e9382c54e27deff578407f28450ba003a /meta-python/recipes-devtools/python/python3-requests-file/run-ptest
parent9b8e0ebb590372e33bb8256dcc342bc49f6b06a0 (diff)
downloadmeta-openembedded-e53f237ba4576adbe54ba4f6e72d1d662a5a8729.tar.gz
python3-requests-file: 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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-requests-file/run-ptest')
-rw-r--r--meta-python/recipes-devtools/python/python3-requests-file/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest
index b63c4de0d9..8d2017d39c 100644
--- a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest
+++ b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest
@@ -1,3 +1,3 @@
1#!/bin/sh 1#!/bin/sh
2 2
3pytest -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}}' 3pytest --automake