diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint/run-ptest | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb | 13 |
2 files changed, 11 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint/run-ptest b/meta-python/recipes-devtools/python/python3-pylint/run-ptest index b63c4de0d9..7a5ceedf95 100644 --- a/meta-python/recipes-devtools/python/python3-pylint/run-ptest +++ b/meta-python/recipes-devtools/python/python3-pylint/run-ptest | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | 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}}' | 3 | 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}}' |
diff --git a/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb index 58f0616fcd..4a082066b6 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_2.17.3.bb | |||
| @@ -13,25 +13,32 @@ SRCREV ?= "389e14c36819cb87190fd412d3f366a3283f0078" | |||
| 13 | inherit python_setuptools_build_meta ptest | 13 | inherit python_setuptools_build_meta ptest |
| 14 | 14 | ||
| 15 | RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ | 15 | RDEPENDS:${PN} += "${PYTHON_PN}-astroid \ |
| 16 | ${PYTHON_PN}-dill \ | ||
| 16 | ${PYTHON_PN}-isort \ | 17 | ${PYTHON_PN}-isort \ |
| 18 | ${PYTHON_PN}-mccabe \ | ||
| 17 | ${PYTHON_PN}-numbers \ | 19 | ${PYTHON_PN}-numbers \ |
| 20 | ${PYTHON_PN}-platformdirs \ | ||
| 18 | ${PYTHON_PN}-shell \ | 21 | ${PYTHON_PN}-shell \ |
| 19 | ${PYTHON_PN}-json \ | 22 | ${PYTHON_PN}-json \ |
| 20 | ${PYTHON_PN}-pkgutil \ | 23 | ${PYTHON_PN}-pkgutil \ |
| 21 | ${PYTHON_PN}-difflib \ | 24 | ${PYTHON_PN}-difflib \ |
| 22 | ${PYTHON_PN}-netserver \ | 25 | ${PYTHON_PN}-netserver \ |
| 26 | ${PYTHON_PN}-tomlkit \ | ||
| 23 | " | 27 | " |
| 24 | 28 | ||
| 25 | RDEPENDS:${PN}-ptest += " \ | 29 | RDEPENDS:${PN}-ptest += " \ |
| 26 | ${PYTHON_PN}-core \ | 30 | ${PYTHON_PN}-core \ |
| 27 | ${PYTHON_PN}-dill \ | ||
| 28 | ${PYTHON_PN}-git \ | 31 | ${PYTHON_PN}-git \ |
| 29 | ${PYTHON_PN}-platformdirs \ | 32 | ${PYTHON_PN}-py \ |
| 30 | ${PYTHON_PN}-pytest \ | 33 | ${PYTHON_PN}-pytest \ |
| 31 | ${PYTHON_PN}-pytest-benchmark \ | 34 | ${PYTHON_PN}-pytest-benchmark \ |
| 35 | ${PYTHON_PN}-pytest-runner \ | ||
| 36 | ${PYTHON_PN}-pytest-timeout \ | ||
| 37 | ${PYTHON_PN}-pytest-xdist \ | ||
| 38 | ${PYTHON_PN}-requests \ | ||
| 32 | ${PYTHON_PN}-statistics \ | 39 | ${PYTHON_PN}-statistics \ |
| 33 | ${PYTHON_PN}-tomlkit \ | ||
| 34 | ${PYTHON_PN}-tomllib \ | 40 | ${PYTHON_PN}-tomllib \ |
| 41 | ${PYTHON_PN}-typing-extensions \ | ||
| 35 | " | 42 | " |
| 36 | 43 | ||
| 37 | S = "${WORKDIR}/git" | 44 | S = "${WORKDIR}/git" |
