summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-06-12 19:26:28 +0000
committerPhil Blundell <philb@gnu.org>2004-06-12 19:26:28 +0000
commitf7da1d5fbb642ea52daf7621a76d325bdf160afc (patch)
tree135899171a3c5326a3ce68ce567b25a5761a5561 /bin
parent3869261fc8740f164bf65c1f1a6bec552b31b58a (diff)
downloadbitbake-contrib-f7da1d5fbb642ea52daf7621a76d325bdf160afc.tar.gz
if a build fails, re-throw the exception rather than trying other providers
Diffstat (limited to 'bin')
-rw-r--r--bin/oemake4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/oemake b/bin/oemake
index 4374d329e..fffedc925 100644
--- a/bin/oemake
+++ b/bin/oemake
@@ -126,7 +126,7 @@ def try_build(fn, virtual):
oe.error("task stack execution failed")
oe.event.fire(oe.event.PkgFailed(item, make.pkgdata[fn]))
__build_cache_fail.append(fn)
- return False
+ raise
except oe.build.EventException:
__stats["fail"] += 1
(type, value, traceback) = sys.exc_info()
@@ -134,7 +134,7 @@ def try_build(fn, virtual):
oe.error("%s event exception, aborting" % oe.event.getName(e))
oe.event.fire(oe.event.PkgFailed(item, make.pkgdata[fn]))
__build_cache_fail.append(fn)
- return False
+ raise
finally:
__building_list.remove(fn)
__build_path.remove(pathstr)