mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
Add a conditional echo statement to make sure that there is a FAIL emitted when python3 ptests regress in a way sed doesn't catch. (From OE-Core rev: 2100c588863b9da64ea8f2eb6be4ff445e26b5f0) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
310 B
310 B
#!/bin/sh
{ SETUPTOOLS_USE_DISTUTILS=nonlocal python3 -m test -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'