mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
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>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/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
|
||||||
|
|||||||
@@ -37,14 +37,14 @@ FILES:${PN}-win32 = " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS:${PN} = "\
|
RDEPENDS:${PN} = "\
|
||||||
${PYTHON_PN}-fcntl \
|
python3-fcntl \
|
||||||
${PYTHON_PN}-io \
|
python3-io \
|
||||||
${PYTHON_PN}-logging \
|
python3-logging \
|
||||||
${PYTHON_PN}-netclient \
|
python3-netclient \
|
||||||
${PYTHON_PN}-numbers \
|
python3-numbers \
|
||||||
${PYTHON_PN}-shell \
|
python3-shell \
|
||||||
${PYTHON_PN}-stringold \
|
python3-stringold \
|
||||||
${PYTHON_PN}-threading \
|
python3-threading \
|
||||||
"
|
"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
@@ -54,7 +54,8 @@ SRC_URI += " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS:${PN}-ptest += " \
|
RDEPENDS:${PN}-ptest += " \
|
||||||
${PYTHON_PN}-pytest \
|
python3-pytest \
|
||||||
|
python3-unittest-automake-output \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
|
|||||||
Reference in New Issue
Block a user