summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 7eac734183..c4131aebf0 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -93,6 +93,12 @@ class ORMWrapper(object):
93 # if we got covered by a setscene task, we're SSTATE 93 # if we got covered by a setscene task, we're SSTATE
94 if task_object.outcome == Task.OUTCOME_COVERED and 1 == Task.objects.filter(task_executed=True, build = task_object.build, recipe = task_object.recipe, task_name=task_object.task_name+"_setscene").count(): 94 if task_object.outcome == Task.OUTCOME_COVERED and 1 == Task.objects.filter(task_executed=True, build = task_object.build, recipe = task_object.recipe, task_name=task_object.task_name+"_setscene").count():
95 task_object.outcome = Task.OUTCOME_SSTATE 95 task_object.outcome = Task.OUTCOME_SSTATE
96 outcome_task_setscene = Task.objects.get(task_executed=True, build = task_object.build,
97 recipe = task_object.recipe, task_name=task_object.task_name+"_setscene").outcome
98 if outcome_task_setscene == Task.OUTCOME_SUCCESS:
99 task_object.sstate_result = Task.SSTATE_RESTORED
100 elif outcome_task_setscene == Task.OUTCOME_FAILED:
101 task_object.sstate_result = Task.SSTATE_FAILED
96 102
97 # mark down duration if we have a start time 103 # mark down duration if we have a start time
98 if 'start_time' in task_information.keys(): 104 if 'start_time' in task_information.keys():