mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-05 00:27:21 +00:00
Using a string search for Fail is not going to work always e.g. when all tests are passing it still prints a summary string with string "Fail" in it which points to 0, however the logic here catches that and counts it as 1 failure and marks the return value as 1 and ptest runner interprets that as failure Pass the return value from unit.test which should be 0 on all passes or non zero otherwise. Signed-off-by: Khem Raj <raj.khem@gmail.com>