mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
bitbake-dev: Ignore SkipPackage and FunFailed errors when looking for python task failures
This commit is contained in:
@@ -207,6 +207,10 @@ def exec_func_python(func, d, runfile, logfile):
|
|||||||
try:
|
try:
|
||||||
utils.better_exec(comp, g, tmp, bbfile)
|
utils.better_exec(comp, g, tmp, bbfile)
|
||||||
except:
|
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)
|
bb.msg.error(bb.msg.domain.Build, "Function %s failed" % func)
|
||||||
raise FuncFailed("function %s failed" % func, logfile)
|
raise FuncFailed("function %s failed" % func, logfile)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user