diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-10 23:33:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 10:28:12 +0100 |
commit | 9341a6c5d1e88d7084083a2e6a44cd65ba5c2455 (patch) | |
tree | 38dc885eb8717de1e25115b20a5278c051ac744a /bitbake/lib/bb/runqueue.py | |
parent | 57c527d630ce8230fd17f3cdb33d388ced34c63b (diff) | |
download | poky-9341a6c5d1e88d7084083a2e6a44cd65ba5c2455.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 80cc60ed7f..c6f45a345f 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2044,7 +2044,7 @@ class RunQueueExecute: | |||
2044 | for dep in self.sqdata.sq_deps[task]: | 2044 | for dep in self.sqdata.sq_deps[task]: |
2045 | if fail and task in self.sqdata.sq_harddeps and dep in self.sqdata.sq_harddeps[task]: | 2045 | if fail and task in self.sqdata.sq_harddeps and dep in self.sqdata.sq_harddeps[task]: |
2046 | logger.debug(2, "%s was unavailable and is a hard dependency of %s so skipping" % (task, dep)) | 2046 | logger.debug(2, "%s was unavailable and is a hard dependency of %s so skipping" % (task, dep)) |
2047 | self.scenequeue_updatecounters(dep, fail) | 2047 | self.sq_task_failoutright(dep) |
2048 | continue | 2048 | continue |
2049 | if task not in self.sqdata.sq_revdeps2[dep]: | 2049 | if task not in self.sqdata.sq_revdeps2[dep]: |
2050 | # May already have been removed by the fail case above | 2050 | # May already have been removed by the fail case above |