diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-22 11:50:37 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-22 11:50:37 +0000 |
commit | d05bcee7f21250854c56fd47b1d5c064ac95efb2 (patch) | |
tree | 6941498b4a0bf46d89fe441e91f2c57e59dbc915 /bitbake/lib/bb/runqueue.py | |
parent | 6e49fdb6db438a947c0122a350cd223dc1ab12db (diff) | |
download | openembedded-core-d05bcee7f21250854c56fd47b1d5c064ac95efb2.tar.gz openembedded-core-d05bcee7f21250854c56fd47b1d5c064ac95efb2.tar.bz2 openembedded-core-d05bcee7f21250854c56fd47b1d5c064ac95efb2.zip |
bitbake: Merge bugfixes from bitbake-1.8 svn
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1759 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 059f800b65..83c3ccf882 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py @@ -91,6 +91,10 @@ class RunQueue: taskData = self.taskData + if len(taskData.tasks_name) == 0: + # Nothing to do + return + bb.msg.note(1, bb.msg.domain.RunQueue, "Preparing Runqueue") for task in range(len(taskData.tasks_name)): @@ -536,8 +540,8 @@ class RunQueue: self.stats.taskFailed() del self.build_pids[result[0]] self.active_builds = self.active_builds - 1 - if len(self.failed_fnids) > 0: - return self.failed_fnids + bb.msg.note(1, bb.msg.domain.RunQueue, "Tasks Summary: Attempted %d tasks of which %d didn't need to be rerun and %d failed." % (self.stats.completed, self.stats.skipped, self.stats.failed)) + return self.failed_fnids except KeyboardInterrupt: bb.msg.note(1, bb.msg.domain.RunQueue, "Sending SIGINT to remaining %s tasks" % self.active_builds) for k, v in self.build_pids.iteritems(): |