summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-07 20:33:12 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-07 20:33:12 +0000
commit5ae5a145dddbdd4db4b93d72291760beabe2c888 (patch)
treea69dc8da14e4f8fc0c27e5ddb4d867de952ace65 /bitbake/lib
parent8e2150e5dce0f7322fa7e16657b1bd92af440190 (diff)
downloadpoky-5ae5a145dddbdd4db4b93d72291760beabe2c888.tar.gz
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/lib')
-rw-r--r--bitbake/lib/bb/runqueue.py6
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):
1212 self.task_skip(task) 1212 self.task_skip(task)
1213 return True 1213 return True
1214 1214
1215 bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData)
1216
1215 taskdep = self.rqdata.dataCache.task_deps[fn] 1217 taskdep = self.rqdata.dataCache.task_deps[fn]
1216 if 'noexec' in taskdep and taskname in taskdep['noexec']: 1218 if 'noexec' in taskdep and taskname in taskdep['noexec']:
1217 bb.msg.note(1, bb.msg.domain.RunQueue, 1219 bb.msg.note(1, bb.msg.domain.RunQueue,
@@ -1220,11 +1222,11 @@ class RunQueueExecuteTasks(RunQueueExecute):
1220 task, 1222 task,
1221 self.rqdata.get_user_idstring(task))) 1223 self.rqdata.get_user_idstring(task)))
1222 self.runq_running[task] = 1 1224 self.runq_running[task] = 1
1223 self.runq_buildable[task] = 1 1225 self.stats.taskActive()
1226 bb.build.make_stamp(task, self.rqdata.dataCache, fn)
1224 self.task_complete(task) 1227 self.task_complete(task)
1225 return True 1228 return True
1226 1229
1227 bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData)
1228 bb.msg.note(1, bb.msg.domain.RunQueue, 1230 bb.msg.note(1, bb.msg.domain.RunQueue,
1229 "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1, 1231 "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1,
1230 self.stats.total, 1232 self.stats.total,