mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-03-09 09:49:38 +00:00
python3-pylint: Fix missing deps for ptests
Disable benchmarks in ptest run Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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/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 --benchmark-disable -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}}'
|
||||
|
||||
@@ -13,25 +13,32 @@ SRCREV ?= "389e14c36819cb87190fd412d3f366a3283f0078"
|
||||
inherit python_setuptools_build_meta ptest
|
||||
|
||||
RDEPENDS:${PN} += "${PYTHON_PN}-astroid \
|
||||
${PYTHON_PN}-dill \
|
||||
${PYTHON_PN}-isort \
|
||||
${PYTHON_PN}-mccabe \
|
||||
${PYTHON_PN}-numbers \
|
||||
${PYTHON_PN}-platformdirs \
|
||||
${PYTHON_PN}-shell \
|
||||
${PYTHON_PN}-json \
|
||||
${PYTHON_PN}-pkgutil \
|
||||
${PYTHON_PN}-difflib \
|
||||
${PYTHON_PN}-netserver \
|
||||
${PYTHON_PN}-tomlkit \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-core \
|
||||
${PYTHON_PN}-dill \
|
||||
${PYTHON_PN}-git \
|
||||
${PYTHON_PN}-platformdirs \
|
||||
${PYTHON_PN}-py \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-pytest-benchmark \
|
||||
${PYTHON_PN}-pytest-runner \
|
||||
${PYTHON_PN}-pytest-timeout \
|
||||
${PYTHON_PN}-pytest-xdist \
|
||||
${PYTHON_PN}-requests \
|
||||
${PYTHON_PN}-statistics \
|
||||
${PYTHON_PN}-tomlkit \
|
||||
${PYTHON_PN}-tomllib \
|
||||
${PYTHON_PN}-typing-extensions \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user