summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/buildinfohelper.py
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-14 10:53:01 +0000
committerAlexandru DAMIAN <alexandru.damian@intel.com>2013-11-15 12:17:19 +0000
commit0e6bbf8181abd68e327e15f07a982a9a126be8db (patch)
treefec820e3971bd565be3ceb3dba575537e47fdcdf /bitbake/lib/bb/ui/buildinfohelper.py
parent3b113312fd0684e7433a288f97005ff5d0724c51 (diff)
downloadpoky-0e6bbf8181abd68e327e15f07a982a9a126be8db.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.py2
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