projects
/
vuplus_bitbake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db9333b
)
runqueue.py: Upon failure in abort mode, raise an exception rather than sys.exit
author
Richard Purdie
<rpurdie@linux.intel.com>
Sun, 10 Sep 2006 21:10:10 +0000
(21:10 +0000)
committer
Richard Purdie
<rpurdie@linux.intel.com>
Sun, 10 Sep 2006 21:10:10 +0000
(21:10 +0000)
lib/bb/runqueue.py
patch
|
blob
|
history
diff --git
a/lib/bb/runqueue.py
b/lib/bb/runqueue.py
index
b5361f9
..
f07902f
100644
(file)
--- a/
lib/bb/runqueue.py
+++ b/
lib/bb/runqueue.py
@@
-269,6
+269,8
@@
class RunQueue:
self.execute_runqueue_internal(cooker, cfgData, dataCache, taskData)
return failures
except bb.runqueue.TaskFailure, (fnid, taskname):
+ if cooker.configuration.abort:
+ raise
taskData.fail_fnid(fnid)
self.reset_runqueue()
self.prepare_runqueue(cfgData, dataCache, taskData, runlist)
@@
-390,8
+392,6
@@
class RunQueue:
result = os.waitpid(-1, 0)
del build_pids[result[0]]
active_builds = active_builds - 1
- if cooker.configuration.abort:
- sys.exit(1)
raise
# Sanity Checks