bitbake: runqueue: Fix counter/task updating glitch

Some tasks were not being marked as covered/notcovered since internal
calls were being made without using the external call points.

Fix the accounting issues by using the correct external call points.

(Bitbake rev: fe0a7be03e8baed22f6b0915cd5f7956ba3fbf83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2019-07-10 23:33:05 +01:00
parent 57c527d630
commit 9341a6c5d1

View File

@@ -2044,7 +2044,7 @@ class RunQueueExecute:
for dep in self.sqdata.sq_deps[task]:
if fail and task in self.sqdata.sq_harddeps and dep in self.sqdata.sq_harddeps[task]:
logger.debug(2, "%s was unavailable and is a hard dependency of %s so skipping" % (task, dep))
self.scenequeue_updatecounters(dep, fail)
self.sq_task_failoutright(dep)
continue
if task not in self.sqdata.sq_revdeps2[dep]:
# May already have been removed by the fail case above