Add the new "empty" outcome value to the task detail page,
with help text, help notice, plus sorting for empty in the
tasks page.
[YOCTO #5917]
(Bitbake rev:
874b627b96809c274023b5fa330dfbdd14676d19)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(OUTCOME_CACHED, 'This task restored output from the sstate-cache directory or mirrors'),
(OUTCOME_PREBUILT, 'This task did not run because its outcome was reused from a previous build'),
(OUTCOME_FAILED, 'This task did not complete'),
+ (OUTCOME_EMPTY, 'This task has no executable content'),
(OUTCOME_NA, ''),
)
</code>
</dd>
</dl>
+ {%elif task.outcome == task.OUTCOME_EMPTY%}
+ <div class="alert alert-info details">
+ This task is empty because it has the <code>noexec</code> flag set to <code>1</code>, or the task function is empty
+ </div>
{% endif %}
{% endif %}
('Cached Tasks', 'outcome:%d'%Task.OUTCOME_CACHED),
('Prebuilt Tasks', 'outcome:%d'%Task.OUTCOME_PREBUILT),
('Covered Tasks', 'outcome:%d'%Task.OUTCOME_COVERED),
- ('Empty Tasks', 'outcome:%d'%Task.OUTCOME_NA),
+ ('Empty Tasks', 'outcome:%d'%Task.OUTCOME_EMPTY),
]
}