python3-pylint: Ignore failing ptests

regression_distutil_import_error_73 seems to fail starting 3.0.3 perhaps
due to dependency upgrade e.g. astroid or some such. Remove it from run
for now.

Match the run command to whats in github actions.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-01-07 19:56:11 -08:00
parent 5260f11b04
commit 628084d6b0
2 changed files with 4 additions and 1 deletions

View File

@@ -46,6 +46,9 @@ do_install_ptest() {
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
install -Dm 0644 ${S}/tests/.pylint_primer_tests/.gitkeep ${D}${PTEST_PATH}/tests/.pylint_primer_tests/.gitkeep
sed -i 's#/usr/bin/python$#/usr/bin/python3#g' ${D}${PTEST_PATH}/tests/data/ascript
# regression_distutil_import_error_73.py fails to run see
# https://lists.openembedded.org/g/openembedded-devel/topic/103181847
rm ${D}${PTEST_PATH}/tests/functional/r/regression_02/regression_distutil_import_error_73.py
}
BBCLASSEXTEND = "native nativesdk"