summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2014-04-11 17:32:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-20 14:58:07 +0100
commit4ab29fc58f3c17d1be4d5381a25c6872c70ee55d (patch)
tree5cf7ed22d8e713cdf976f6bd87f1545c4ae4397e
parent0bc0ee66a8f18f1b2390a018d3807c165b8693a1 (diff)
downloadpoky-4ab29fc58f3c17d1be4d5381a25c6872c70ee55d.tar.gz
bitbake: bitbake: toaster: Fix total number of tasks in build dashboard
The total number of tasks in the build dashboard was counting _setscene tasks, which are not exposed by Toaster as separate tasks. This patch makes sure that _setscene tasks are not counted when calculating that number. [YOCTO #6145] (Bitbake rev: a429278c70b55f7c11a9ef3d5af28cf88850a227) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/builddashboard.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
index fa4b194eb9..a01ef3d93b 100644
--- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html
+++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
@@ -125,7 +125,7 @@
125 <div class="well span4 dashboard-section"> 125 <div class="well span4 dashboard-section">
126 <h4><a href="{%url 'tasks' build.pk%}">Tasks</a></h4> 126 <h4><a href="{%url 'tasks' build.pk%}">Tasks</a></h4>
127 <dl> 127 <dl>
128 <dt>Total number of tasks</dt><dd><a href="{% url 'tasks' build.pk %}">{{build.task_build.all.count}}</a></dd> 128 <dt>Total number of tasks</dt><dd><a href="{% url 'tasks' build.pk %}">{% query build.task_build order__gt=0 as alltasks %}{{alltasks.count}}</a></dd>
129 <dt> 129 <dt>
130 Tasks executed 130 Tasks executed
131 <i class="icon-question-sign get-help" title="'Executed' tasks are those that need to be run in order to generate the task output"></i> 131 <i class="icon-question-sign get-help" title="'Executed' tasks are those that need to be run in order to generate the task output"></i>