]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/ptest: print a warning if ptests failed
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 19 Dec 2020 17:29:08 +0000 (18:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Jan 2021 11:28:15 +0000 (11:28 +0000)
This allows spotting ptest regressions without having hard ptest failures
(for that full ptest stability should be achieved).

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ptest.py

index a9572c81f002b1529d7346f6a819b63f5df35d80..0800f3c27f2f9d82353435a2f5ca3a5def44d1e9 100644 (file)
@@ -108,4 +108,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)