mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 21:27:56 +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'):
|
||||
return_value = 1
|
||||
print 'ERROR: ' + event[1]['_message']
|
||||
break
|
||||
if event[0].startswith('bb.msg.MsgFatal'):
|
||||
return_value = 1
|
||||
print 'FATAL: ' + event[1]['_message']
|
||||
continue
|
||||
if event[0].startswith('bb.build.TaskFailed'):
|
||||
return_value = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user