]> code.ossystems Code Review - openembedded-core.git/commit
Simplify build exception handling
authorChris Larson <chris_larson@mentor.com>
Fri, 10 Sep 2010 01:03:40 +0000 (18:03 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:35 +0000 (14:46 +0000)
commit9897d56861a3894e34bf77a62255dc57e680a18e
treec9ac420fedf434e693d364d70380fe1b9475bd86
parent1e7204a7b5b7b9a73759646fa0e297c7b4bc55ed
Simplify build exception handling

- Drop EventException
- Use FuncFailed as the primary function failure exception, using TaskFailed
  for the event (leaving it up to the process running exec_{func,task} to
  display the more detailed information available in the exception).
- Switch InvalidTask to an exception rather than an event, as that's a
  critical issue.
- Reduce the number of messages shown to the user when a task fails -- they
  don't need to be told it fails 12 times.  Work remains in this area though.

(Bitbake rev: 06b742aae2b8013cbb269cc30554cff89e3a5667)

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