mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
af1612a85b
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>