From cff2c258b77fde01d530a5923e553e6111b15eb5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 21 Nov 2011 14:40:37 +0000 Subject: bitbake/runqueue: Improve the setscene logging When debugging setscene problems it was found that some extra debug messages were useful. This patch adds them. Signed-off-by: Richard Purdie --- lib/bb/runqueue.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index f7e7acedd..0e83d0540 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -1208,10 +1208,14 @@ class RunQueueExecuteTasks(RunQueueExecute): for task in xrange(self.stats.total): if task in self.rq.scenequeue_covered: continue + logger.debug(1, 'Considering %s (%s): %s' % (task, self.rqdata.get_user_idstring(task), str(self.rqdata.runq_revdeps[task]))) + if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered): ok = True for revdep in self.rqdata.runq_revdeps[task]: if self.rqdata.runq_fnid[task] != self.rqdata.runq_fnid[revdep]: + 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))) + ok = False break if ok: -- cgit 1.2.3-korg