mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
bitbake-dev: Fix knotty fatal message handling and ignore configparsed events
This commit is contained in:
@@ -71,11 +71,11 @@ 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
|
continue
|
||||||
if event[0].startswith('bb.msg.MsgFatal'):
|
if event[0].startswith('bb.msg.MsgFatal'):
|
||||||
return_value = 1
|
return_value = 1
|
||||||
print 'FATAL: ' + event[1]['_message']
|
print 'FATAL: ' + event[1]['_message']
|
||||||
continue
|
break
|
||||||
if event[0].startswith('bb.build.TaskFailed'):
|
if event[0].startswith('bb.build.TaskFailed'):
|
||||||
return_value = 1
|
return_value = 1
|
||||||
logfile = event[1]['logfile']
|
logfile = event[1]['logfile']
|
||||||
@@ -141,6 +141,8 @@ def init(server, eventHandler):
|
|||||||
continue
|
continue
|
||||||
if event[0].startswith('bb.event.StampUpdate'):
|
if event[0].startswith('bb.event.StampUpdate'):
|
||||||
continue
|
continue
|
||||||
|
if event[0].startswith('bb.event.ConfigParsed'):
|
||||||
|
continue
|
||||||
print "Unknown Event: %s" % event
|
print "Unknown Event: %s" % event
|
||||||
|
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|||||||
Reference in New Issue
Block a user