]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/runner: Ensure class setup errors are shown to bitbake logging
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Sep 2023 14:34:18 +0000 (15:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Sep 2023 09:23:32 +0000 (10:23 +0100)
commit7342c418bda2cc3c337a190089864ea731ff62e4
treefe563baf293d6ddc0e9afc568d2f55fd97be999a
parent7df9178766ee7939d139648e04f5747b0ffe1e13
oeqa/runner: Ensure class setup errors are shown to bitbake logging

This took a bit of digging but failure messages from testimage are shown to bitbake's
logging through stopTest. In the case of a setUpClass failure stopTest is never
called and the bitbake logging never sees the error. It would still be in the task
logfile. Add some code+comment to ensure logs not shown to the user mid stream are shown
at the end.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/runner.py