diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-07 15:05:25 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-07 15:05:25 +0000 |
commit | 6f92ab0d55870d809f2eb7ca9eccab179f57e409 (patch) | |
tree | b5c99fa9e65194ecf985842ee8641543a8d40d1b | |
parent | 4f5bb4683d35df0789a459e94ce4e04004e48b71 (diff) | |
download | openembedded-core-6f92ab0d55870d809f2eb7ca9eccab179f57e409.tar.gz openembedded-core-6f92ab0d55870d809f2eb7ca9eccab179f57e409.tar.bz2 openembedded-core-6f92ab0d55870d809f2eb7ca9eccab179f57e409.zip |
bitbake-dev: Ignore SkipPackage and FunFailed errors when looking for python task failures
-rw-r--r-- | bitbake-dev/lib/bb/build.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/build.py b/bitbake-dev/lib/bb/build.py index 7974a8248d..9bb5abd78d 100644 --- a/bitbake-dev/lib/bb/build.py +++ b/bitbake-dev/lib/bb/build.py @@ -207,6 +207,10 @@ def exec_func_python(func, d, runfile, logfile): try: utils.better_exec(comp, g, tmp, bbfile) except: + (t,value,tb) = sys.exc_info() + + if t in [bb.parse.SkipPackage, bb.build.FuncFailed]: + raise bb.msg.error(bb.msg.domain.Build, "Function %s failed" % func) raise FuncFailed("function %s failed" % func, logfile) |