summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf/__init__.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-10-07 14:46:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-07 13:53:07 +0100
commitb3e4fdec12813ae63d01bba275df84a07dd6720e (patch)
tree7f58872a2aa046793032f1926294fa1d3596bd6b /scripts/lib/build_perf/__init__.py
parent49e0316eff389ced67a12aa4261876e4c6299ae4 (diff)
downloadpoky-b3e4fdec12813ae63d01bba275df84a07dd6720e.tar.gz
runqemu: ensure that bitbake environment is either returned, or an exception is raised
This eliminates the other remaining code path where environment getter returns 'nothing'. This and the previous patch were tested in a-full, and no errors occurred [1], which means the code paths that make use of the function returning nothing are never actually executed and can be cleaned up (in the following patch). The rationale is that if environment getter cannot obtain the environment, it should report that and not sweep the issue under the carpet; it's up to the caller to handle that situation, or make pre-emptive checks that avoid calling the environment getter when it is bound to fail. [1] https://lists.openembedded.org/g/openembedded-core/message/223651 (From OE-Core rev: 22022b86871fee092ada2f307301081842f683cd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/__init__.py')
0 files changed, 0 insertions, 0 deletions