mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
oeqa/ptest: print a warning if ptests failed
This allows spotting ptest regressions without having hard ptest failures (for that full ptest stability should be achieved). (From OE-Core rev: 6097b1cbffc048185c1ed658f16f0f90a9d19054) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 79b54d902df2788b0822b6c9cc14705ab00e6a5b) Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit 5232c0b480eba4537c8db71c95189950011fb64d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f2dfdc94ad
commit
e89fbddd48
@@ -104,4 +104,5 @@ class PtestRunnerTest(OERuntimeTestCase):
|
||||
failmsg = failmsg + "Failed ptests:\n%s" % pprint.pformat(failed_tests)
|
||||
|
||||
if failmsg:
|
||||
self.logger.warning("There were failing ptests.")
|
||||
self.fail(failmsg)
|
||||
|
||||
Reference in New Issue
Block a user