aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-29 22:57:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-02 09:55:42 +0100
commitfdc2d3df35ad1282c4ad85d76519e395b023a563 (patch)
treecf47392a300f270c363cd0faa07039f253e02ac8 /lib/bb/data_smart.py
parent69c622b744d987b48f7dd805ead973ad90479e4e (diff)
downloadbitbake-1.50.tar.gz
bitbake-1.50.tar.bz2
bitbake-1.50.zip
build: Handle SystemExit in python tasks correctly1.50
If a python task fails with sys.exit(), we currently see no TaskFailed event. The high level code does detect the exit code and fail the task but it can leave the UI inconsistent with log output. Fix this be intercepting SystemExit explicitly. This makes python task failures consistent with shell task failures. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9eee9fd4f2f96789ad2b037e74d561bdc1426856) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/data_smart.py')
0 files changed, 0 insertions, 0 deletions