From 9bcb4fedea0f422556bdc788a3e276d722d27ec0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 27 Mar 2014 10:38:50 +0000 Subject: [PATCH] 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 --- bitbake/lib/bb/ui/knotty.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 05c3134..80a4b32 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): 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 -- 2.7.4