bitbake-dev: Ignore SkipPackage and FunFailed errors when looking for python task failures

This commit is contained in:
Richard Purdie 2008-11-07 15:05:25 +00:00
parent 4f5bb4683d
commit 6f92ab0d55
1 changed files with 4 additions and 0 deletions

View File

@ -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)