From: Alexander Kanavin Date: Sat, 19 Dec 2020 17:29:08 +0000 (+0100) Subject: oeqa/ptest: print a warning if ptests failed X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~9066 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79b54d902df2788b0822b6c9cc14705ab00e6a5b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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). Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py index a9572c81f00..0800f3c27f2 100644 --- a/meta/lib/oeqa/runtime/cases/ptest.py +++ b/meta/lib/oeqa/runtime/cases/ptest.py @@ -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)