diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-11-14 10:53:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-15 11:48:52 +0000 |
commit | 533cf81f8b43850324374c92ce78f2b6ffde9e72 (patch) | |
tree | 659bd25e4da9272c03d1f9cd6cdc5dc80ae4d6c5 /bitbake/lib/bb/ui/buildinfohelper.py | |
parent | 9f1e696aba51d7fc50ca562ebbc1b167dc7ad77a (diff) | |
download | poky-533cf81f8b43850324374c92ce78f2b6ffde9e72.tar.gz |
bitbake: toasterui: mark failed sceneQueue tasks as failed
This patch addresses an issue where a failed sceneQueue task
entry was not updated on the Fail event. As a result, it
always showed the task as not-available.
[YOCTO #5216]
(Bitbake rev: 9b99a417f58381bac4bda412bcfd11de50403318)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/buildinfohelper.py')
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index a1a91157bb..6b6c4f3d9e 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py | |||
@@ -527,7 +527,7 @@ class BuildInfoHelper(object): | |||
527 | task_information['disk_io'] = task_build_stats['disk_io'] | 527 | task_information['disk_io'] = task_build_stats['disk_io'] |
528 | del self.internal_state[identifier] | 528 | del self.internal_state[identifier] |
529 | 529 | ||
530 | if isinstance(event, bb.runqueue.runQueueTaskFailed): | 530 | if isinstance(event, (bb.runqueue.runQueueTaskFailed, bb.runCommand.sceneQueueTaskFailed)): |
531 | task_information['outcome'] = Task.OUTCOME_FAILED | 531 | task_information['outcome'] = Task.OUTCOME_FAILED |
532 | del self.internal_state[identifier] | 532 | del self.internal_state[identifier] |
533 | 533 | ||