]> code.ossystems Code Review - openembedded-core.git/commit
Fix exit code display for task failure
authorChris Larson <chris_larson@mentor.com>
Fri, 10 Sep 2010 18:14:54 +0000 (11:14 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:35 +0000 (14:46 +0000)
commit7afe34e2c22904024f7082d3cf0f42550a10d83e
treeca65c9fc86f8c517f6048606e9aade79b4695388
parent7011ae3f789fca3fcaf7af9d16d0aa50a20c03b4
Fix exit code display for task failure

Per the python documentation, os.waitpid returns the exitcode shifted up by 8
bits, and we weren't compensating, resulting in a display of 'failed with 256'
when a worker process exits with a code of 1.

(Bitbake rev: 90c2b6cb24dc9c82f0a9aa9d23f2d1ed2e6ff301)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/runqueue.py