diff options
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint/run-ptest | 2 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pylint/run-ptest b/meta-python/recipes-devtools/python/python3-pylint/run-ptest index 7a5ceedf95..2a4e87e03a 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 --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}}' | 3 | pytest --benchmark-disable -vv --minimal-messages-config tests/test_functional.py | 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_3.0.3.bb b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb index 09ab1f26ff..cc33edd829 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_3.0.3.bb | |||
| @@ -46,6 +46,9 @@ do_install_ptest() { | |||
| 46 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 46 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 47 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep | 47 | install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep |
| 48 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript | 48 | sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript |
| 49 | # regression_distutil_import_error_73.py fails to run see | ||
| 50 | # https://lists.openembedded.org/g/openembedded-devel/topic/103181847 | ||
| 51 | rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py | ||
| 49 | } | 52 | } |
| 50 | 53 | ||
| 51 | BBCLASSEXTEND = "native nativesdk" | 54 | BBCLASSEXTEND = "native nativesdk" |
