bitbake: knotty: Show a link to the logfile for failed setscene tasks

Its not immediately obvious to the user that a logfile exists for a failed setscene
task. Add code to knotty to display where that logfile is in those cases.

[YOCTO #6055]

(Bitbake rev: 0664fa15597785dd90cf205531a9801e6da6ba47)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2014-03-27 10:38:50 +00:00
parent 6ef47ec5fd
commit c4eeaa8e35
1 changed files with 3 additions and 0 deletions

View File

@ -355,6 +355,9 @@ def main(server, eventHandler, params, tf = TerminalFilter):
logger.handle(event)
continue
if isinstance(event, bb.build.TaskFailedSilent):
logger.warn("Logfile for failed setscene task is %s" % event.logfile)
continue
if isinstance(event, bb.build.TaskFailed):
return_value = 1
logfile = event.logfile