summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-07 15:05:25 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-07 15:05:25 +0000
commit6f92ab0d55870d809f2eb7ca9eccab179f57e409 (patch)
treeb5c99fa9e65194ecf985842ee8641543a8d40d1b /bitbake-dev/lib
parent4f5bb4683d35df0789a459e94ce4e04004e48b71 (diff)
downloadpoky-6f92ab0d55870d809f2eb7ca9eccab179f57e409.tar.gz
bitbake-dev: Ignore SkipPackage and FunFailed errors when looking for python task failures
Diffstat (limited to 'bitbake-dev/lib')
-rw-r--r--bitbake-dev/lib/bb/build.py4
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):
207 try: 207 try:
208 utils.better_exec(comp, g, tmp, bbfile) 208 utils.better_exec(comp, g, tmp, bbfile)
209 except: 209 except:
210 (t,value,tb) = sys.exc_info()
211
212 if t in [bb.parse.SkipPackage, bb.build.FuncFailed]:
213 raise
210 bb.msg.error(bb.msg.domain.Build, "Function %s failed" % func) 214 bb.msg.error(bb.msg.domain.Build, "Function %s failed" % func)
211 raise FuncFailed("function %s failed" % func, logfile) 215 raise FuncFailed("function %s failed" % func, logfile)
212 216