From: Richard Purdie Date: Wed, 10 Jul 2019 22:33:05 +0000 (+0100) Subject: bitbake: runqueue: Fix counter/task updating glitch X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9341a6c5d1e88d7084083a2e6a44cd65ba5c2455;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 80cc60ed7f6..c6f45a345fe 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -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