summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-19 18:29:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-20 00:45:05 +0000
commit0955777d5fdd9cbfae87e2a1695c611624afe717 (patch)
tree6412bdb51fa365ec7dd3c9d0aefc42abe7548dda /meta
parent24a68ae82b8bde822bd8e16bdebec13f164977eb (diff)
downloadpoky-0955777d5fdd9cbfae87e2a1695c611624afe717.tar.gz
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: 79b54d902df2788b0822b6c9cc14705ab00e6a5b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/lib/oeqa/runtime/cases/ptest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/cases/ptest.py b/meta/lib/oeqa/runtime/cases/ptest.py
index a9572c81f0..0800f3c27f 100644
--- a/meta/lib/oeqa/runtime/cases/ptest.py
+++ b/meta/lib/oeqa/runtime/cases/ptest.py
@@ -108,4 +108,5 @@ class PtestRunnerTest(OERuntimeTestCase):
108 failmsg = failmsg + "Failed ptests:\n%s" % pprint.pformat(failed_tests) 108 failmsg = failmsg + "Failed ptests:\n%s" % pprint.pformat(failed_tests)
109 109
110 if failmsg: 110 if failmsg:
111 self.logger.warning("There were failing ptests.")
111 self.fail(failmsg) 112 self.fail(failmsg)