[bitbake-devel,10/26] runqueue: Fix counter/task updating glitch

Submitted by Richard Purdie on July 10, 2019, 11:54 p.m. | Patch ID: 162958

Details

Message ID 20190710235420.23825-10-richard.purdie@linuxfoundation.org
State Accepted
Commit fe0a7be03e8baed22f6b0915cd5f7956ba3fbf83
Headers show

Commit Message

Richard Purdie July 10, 2019, 11:54 p.m.
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/runqueue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 9ec2f7d2d4..54dce83737 100644
--- a/lib/bb/runqueue.py
+++ b/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