Files
poky/meta/recipes-devtools/python/python3/run-ptest
Khem Raj 13be32f883 python3: Fix ptests on musl
Adjust locale dependencies to help run tests sadly, tr-tr is not
available yet in musl-locale so keep that specific to glibc

Add an exclusion list for tests and populate it for musl for the failing
tests

(From OE-Core rev: db76ac9968ceddc01e48069dbacc212eb4f88574)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-04 20:14:14 +01:00

339 B

#!/bin/sh SKIPPED_TESTS= { SETUPTOOLS_USE_DISTUTILS=nonlocal python3 -m test $SKIPPED_TESTS -v -j 4 || echo "FAIL: python3" ; } | sed -u -e '/... ok/ s/^/PASS: /g' -r -e '/... (ERROR|FAIL)/ s/^/FAIL: /g' -e '/... skipped/ s/^/SKIP: /g' -e 's/ ... ok//g' -e 's/ ... ERROR//g' -e 's/ ... FAIL//g' -e 's/ ... skipped//g'