]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/runtime/ptest: Make returning no test results a failure
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Apr 2023 16:51:00 +0000 (17:51 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 May 2023 06:33:15 +0000 (07:33 +0100)
commit5ad0cf57b41ec7f44647a03bc568d0b24906cc8d
treeeb8eec61d3ac5759f952d61ada7c35e27ea81306
parent2ee144a0bfb88823bfa788697bb7afc9a572c413
oeqa/runtime/ptest: Make returning no test results a failure

Ensure that even if a ptests results section is empty, the log parser adds that
empty section. Then ensure that empty sections trigger warnings.

This means if a ptest suddently stops returning any results, we notice and see
warnings about it. This has gone unnoticed on the autobuilder far too many times
so is very much worth highlighting as a regression. We shouldn't have empty ptests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/ptest.py
meta/lib/oeqa/utils/logparser.py