diff options
author | Tim Orling <ticotimo@gmail.com> | 2024-02-16 16:15:46 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-16 16:42:38 -0800 |
commit | 52f5ec0d69b7e9d51646a181c7c498a22a8d2fb2 (patch) | |
tree | 9b3329c61a0e919850aa6a7aae1fc67adc29509e /meta-python/recipes-devtools/python/python3-pyserial/run-ptest | |
parent | 7537066f8913684443b032e710a08b18d71e594b (diff) | |
download | meta-openembedded-52f5ec0d69b7e9d51646a181c7c498a22a8d2fb2.tar.gz |
python3-pyserial: 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-pyserial/run-ptest')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyserial/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest index e301963f96..b651411db7 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest @@ -1,4 +1,4 @@ #!/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/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}}' +pytest --automake |