diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-21 23:49:17 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-21 23:49:17 +0000 |
| commit | 5ebad0d500562a132067b423bb6711e8893f2859 (patch) | |
| tree | 395567a09b82a0bf89331d32f927fbe77496ec79 /bitbake/lib/bb/runqueue.py | |
| parent | 5c62833766048b83c0d7ea9e77194b9ca6af7fb1 (diff) | |
| download | poky-5ebad0d500562a132067b423bb6711e8893f2859.tar.gz | |
knotty: Improve task failure message handling using the uihelper code
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
| -rw-r--r-- | bitbake/lib/bb/runqueue.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 1f9907b9d5..3a438894b8 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
| @@ -1042,11 +1042,11 @@ class RunQueue: | |||
| 1042 | try: | 1042 | try: |
| 1043 | while self.stats.active > 0: | 1043 | while self.stats.active > 0: |
| 1044 | bb.event.fire(runQueueExitWait(self.stats.active), self.cfgData) | 1044 | bb.event.fire(runQueueExitWait(self.stats.active), self.cfgData) |
| 1045 | bb.msg.note(1, bb.msg.domain.RunQueue, "Waiting for %s active tasks to finish" % self.stats.active) | 1045 | #bb.msg.note(1, bb.msg.domain.RunQueue, "Waiting for %s active tasks to finish" % self.stats.active) |
| 1046 | tasknum = 1 | 1046 | #tasknum = 1 |
| 1047 | for k, v in self.build_pids.iteritems(): | 1047 | #for k, v in self.build_pids.iteritems(): |
| 1048 | bb.msg.note(1, bb.msg.domain.RunQueue, "%s: %s (pid %s)" % (tasknum, self.get_user_idstring(v), k)) | 1048 | # bb.msg.note(1, bb.msg.domain.RunQueue, "%s: %s (pid %s)" % (tasknum, self.get_user_idstring(v), k)) |
| 1049 | tasknum = tasknum + 1 | 1049 | # tasknum = tasknum + 1 |
| 1050 | result = os.waitpid(-1, os.WNOHANG) | 1050 | result = os.waitpid(-1, os.WNOHANG) |
| 1051 | if result[0] is 0 and result[1] is 0: | 1051 | if result[0] is 0 and result[1] is 0: |
| 1052 | return | 1052 | return |
