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:41:36 +0000 |
commit | 0664fa15597785dd90cf205531a9801e6da6ba47 (patch) | |
tree | 424ee481236c15cdd17604300bd731c721428553 | |
parent | ebb797fc5c37d729e3cc8b2dc7156287d385c13b (diff) | |
download | bitbake-0664fa15597785dd90cf205531a9801e6da6ba47.tar.gz |
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]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/ui/knotty.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 05c31342e..80a4b327f 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -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 |