diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-27 10:38:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-27 10:42:08 +0000 |
commit | c4eeaa8e35e926b6d1f633549f76d1ba9ed9278b (patch) | |
tree | 0e32ac1ea7c29714687c108153ec38986192e2b0 /bitbake/lib/bb | |
parent | 6ef47ec5fdec8f4b1315dc269b50a02c5b58fbaf (diff) | |
download | poky-c4eeaa8e35e926b6d1f633549f76d1ba9ed9278b.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 05c31342e0..80a4b327fa 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -355,6 +355,9 @@ def main(server, eventHandler, params, tf = TerminalFilter): | |||
355 | logger.handle(event) | 355 | logger.handle(event) |
356 | continue | 356 | continue |
357 | 357 | ||
358 | if isinstance(event, bb.build.TaskFailedSilent): | ||
359 | logger.warn("Logfile for failed setscene task is %s" % event.logfile) | ||
360 | continue | ||
358 | if isinstance(event, bb.build.TaskFailed): | 361 | if isinstance(event, bb.build.TaskFailed): |
359 | return_value = 1 | 362 | return_value = 1 |
360 | logfile = event.logfile | 363 | logfile = event.logfile |