diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-11-18 15:47:42 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-11-18 15:47:42 +0000 |
commit | c5422f79e211247c07db3d52ad373e8c40d287f5 (patch) | |
tree | 7d4aaae3e1cb82510a980bd5a91f5da4c034a111 /lib/bb/shell.py | |
parent | 712fe375531520eea9b68d24f49fbe9598e3c562 (diff) | |
download | bitbake-c5422f79e211247c07db3d52ad373e8c40d287f5.tar.gz |
runqueue.py: Change failed tasks handling so all failed tasks are reported, not just the first. Also add signal handling so Ctrl+C only interrupts the main tasks upon the first keypress, the second keypress sends SIGTERM to all children
Diffstat (limited to 'lib/bb/shell.py')
-rw-r--r-- | lib/bb/shell.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/bb/shell.py b/lib/bb/shell.py index 760c371d9..711cd4335 100644 --- a/lib/bb/shell.py +++ b/lib/bb/shell.py @@ -179,8 +179,9 @@ class BitBakeShellCommands: global last_exception last_exception = Providers.NoProvider - except runqueue.TaskFailure, (fnid, fn, taskname): - print "ERROR: '%s, %s' failed" % (fn, taskname) + except runqueue.TaskFailure, fnids: + for fnid in fnids: + print "ERROR: '%s' failed" % td.fn_index[fnid]) global last_exception last_exception = runqueue.TaskFailure |