diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-07 20:33:12 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-11-07 20:33:12 +0000 |
commit | 5ae5a145dddbdd4db4b93d72291760beabe2c888 (patch) | |
tree | a69dc8da14e4f8fc0c27e5ddb4d867de952ace65 /bitbake | |
parent | 8e2150e5dce0f7322fa7e16657b1bd92af440190 (diff) | |
download | openembedded-core-5ae5a145dddbdd4db4b93d72291760beabe2c888.tar.gz openembedded-core-5ae5a145dddbdd4db4b93d72291760beabe2c888.tar.bz2 openembedded-core-5ae5a145dddbdd4db4b93d72291760beabe2c888.zip |
bitbake.runqueue.py: Fix no exec task handling to correct counter housekeeping
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 178a5a61b9..85ecafcb7f 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -1212,6 +1212,8 @@ class RunQueueExecuteTasks(RunQueueExecute): self.task_skip(task) return True + bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData) + taskdep = self.rqdata.dataCache.task_deps[fn] if 'noexec' in taskdep and taskname in taskdep['noexec']: bb.msg.note(1, bb.msg.domain.RunQueue, @@ -1220,11 +1222,11 @@ class RunQueueExecuteTasks(RunQueueExecute): task, self.rqdata.get_user_idstring(task))) self.runq_running[task] = 1 - self.runq_buildable[task] = 1 + self.stats.taskActive() + bb.build.make_stamp(task, self.rqdata.dataCache, fn) self.task_complete(task) return True - bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData) bb.msg.note(1, bb.msg.domain.RunQueue, "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1, self.stats.total, |