mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
We need to run sed with the -u option to ensure the output is unbuffered else ptest-runner may timeout thinkig things were idle. Busybox doesn't have the -u option so we need to RDEPEND on sed (which is a good thing to do if we use it anyway). Alex Kanavin should get credit for discovering the problem. (From OE-Core rev: d3ffbebf43c23faa43af81c9ecf6fcaef36d675b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
238 B
238 B
#!/bin/sh
python3 -m test -W | sed -u -e '/... ok/ s/^/PASS: /g' -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'