diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-01-21 10:04:52 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-01-21 10:04:52 +0000 |
commit | 5c2f85e2f600eba5dca367fc6358d1eee64aacc0 (patch) | |
tree | aa783e42b2bfdef0df2d907f19c3d87cee787a40 | |
parent | 325d9944b725eb4cb839686192d3f5860a9eb163 (diff) | |
download | bitbake-5c2f85e2f600eba5dca367fc6358d1eee64aacc0.tar.gz |
runqueue.py: Fix exit code for build failures in --continue mode
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | lib/bb/runqueue.py | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -94,6 +94,7 @@ Changes in Bitbake 1.9.x: - Add support for branches in git fetcher (Otavio Salvador, Michael Lauer) - Make taskdata and runqueue errors more user friendly - Add norecurse and fullpath options to cvs fetcher + - Fix exit code for build failures in --continue mode Changes in Bitbake 1.8.0: - Release 1.7.x as a stable series diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index 2987ead8b..8792053d9 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -585,9 +585,9 @@ class RunQueue: # Check to make sure we still have tasks to run if len(self.runq_fnid) == 0: if not taskData.abort: - bb.msg.note(1, bb.msg.domain.RunQueue, "All buildable tasks have been run but the build is incomplete (--continue mode). Errors for the tasks that failed will have been printed above.") - return - bb.msg.fatal(bb.msg.domain.RunQueue, "No active tasks and not in --continue mode?! Please report this bug.") + bb.msg.fatal(bb.msg.domain.RunQueue, "All buildable tasks have been run but the build is incomplete (--continue mode). Errors for the tasks that failed will have been printed above.") + else: + bb.msg.fatal(bb.msg.domain.RunQueue, "No active tasks and not in --continue mode?! Please report this bug.") bb.msg.note(2, bb.msg.domain.RunQueue, "Pruned %s inactive tasks, %s left" % (delcount, len(self.runq_fnid))) |