summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-21 14:40:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-05 13:04:19 +0000
commit7f837eb05f924996c89283ec8b74e46f6b5cd343 (patch)
tree35e2219acaeef3a88c4d6a871412f8e7e44e555a
parent8e43f9a751f1637d483d48aa9a9a647d1e3d2003 (diff)
downloadpoky-7f837eb05f924996c89283ec8b74e46f6b5cd343.tar.gz
bitbake/runqueue: Improve the setscene logging
When debugging setscene problems it was found that some extra debug messages were useful. This patch adds them. (Bitbake rev: cff2c258b77fde01d530a5923e553e6111b15eb5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/runqueue.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 5a5164b7b5..86744fbaef 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1209,10 +1209,14 @@ class RunQueueExecuteTasks(RunQueueExecute):
1209 for task in xrange(self.stats.total): 1209 for task in xrange(self.stats.total):
1210 if task in self.rq.scenequeue_covered: 1210 if task in self.rq.scenequeue_covered:
1211 continue 1211 continue
1212 logger.debug(1, 'Considering %s (%s): %s' % (task, self.rqdata.get_user_idstring(task), str(self.rqdata.runq_revdeps[task])))
1213
1212 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered): 1214 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered):
1213 ok = True 1215 ok = True
1214 for revdep in self.rqdata.runq_revdeps[task]: 1216 for revdep in self.rqdata.runq_revdeps[task]:
1215 if self.rqdata.runq_fnid[task] != self.rqdata.runq_fnid[revdep]: 1217 if self.rqdata.runq_fnid[task] != self.rqdata.runq_fnid[revdep]:
1218 logger.debug(1, 'Found "bad" dep %s (%s) for %s (%s)' % (revdep, self.rqdata.get_user_idstring(revdep), task, self.rqdata.get_user_idstring(task)))
1219
1216 ok = False 1220 ok = False
1217 break 1221 break
1218 if ok: 1222 if ok: