diff options
author | Louis Rannou <louis.rannou@non.se.com> | 2024-09-13 14:25:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-17 12:16:01 +0100 |
commit | 48a898fdfbb85e35edd4342321d7be0393624934 (patch) | |
tree | fe5ce732fb1522e2833aaed667a780ee89c147f7 /scripts/lib/devtool/standard.py | |
parent | 099c09be3c37743425486664c6457bd0301c74f0 (diff) | |
download | poky-48a898fdfbb85e35edd4342321d7be0393624934.tar.gz |
image_qa: fix error handling
Make ImageQAFailed inherit BBHandledException so exceptions raised in tests are
catched when the actual test function is executed by bb.utils.better_exec.
Change the do_image_qa tasks so errors are handled with oe.qa.handle_error. Add
some comment to explain this requires to list the test in ERROR_QA or WARN_QA.
[YOCTO #14807]
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14807
(From OE-Core rev: 905e224849fbbed1719e0add231b00e2d570b3b4)
Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/standard.py')
0 files changed, 0 insertions, 0 deletions