mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
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:
@@ -2044,7 +2044,7 @@ class RunQueueExecute:
|
|||||||
for dep in self.sqdata.sq_deps[task]:
|
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]:
|
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))
|
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
|
continue
|
||||||
if task not in self.sqdata.sq_revdeps2[dep]:
|
if task not in self.sqdata.sq_revdeps2[dep]:
|
||||||
# May already have been removed by the fail case above
|
# May already have been removed by the fail case above
|
||||||
|
|||||||
Reference in New Issue
Block a user