mirror of
git://git.yoctoproject.org/poky
synced 2026-09-26 22:08:54 +00:00
bitbake-dev: Handle fatal events correctly
This commit is contained in:
parent
f3a6210e93
commit
5be6bb070b
@ -71,6 +71,10 @@ def init(server, eventHandler):
|
|||||||
if event[0].startswith('bb.msg.MsgError'):
|
if event[0].startswith('bb.msg.MsgError'):
|
||||||
return_value = 1
|
return_value = 1
|
||||||
print 'ERROR: ' + event[1]['_message']
|
print 'ERROR: ' + event[1]['_message']
|
||||||
|
break
|
||||||
|
if event[0].startswith('bb.msg.MsgFatal'):
|
||||||
|
return_value = 1
|
||||||
|
print 'FATAL: ' + event[1]['_message']
|
||||||
continue
|
continue
|
||||||
if event[0].startswith('bb.build.TaskFailed'):
|
if event[0].startswith('bb.build.TaskFailed'):
|
||||||
return_value = 1
|
return_value = 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user