poky/meta/recipes-devtools/python/python3/run-ptest
Alexander Kanavin b890fcbd79 python3: use built-in distutils for ptest, rather than setuptools' 'fork'
The setuptools version is now used by default when setuptools is installed,
but it  is incompatible with some of python's own tests.

(From OE-Core rev: c0c1ee33781733d712cd983be460001cd7938014)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-05-20 22:52:23 +01:00

275 B

#!/bin/sh

SETUPTOOLS_USE_DISTUTILS=nonlocal python3 -m test -v | 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'