diff options
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 306ae79330..2925741336 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -862,7 +862,7 @@ class RunQueue: | |||
862 | cache[task] = iscurrent | 862 | cache[task] = iscurrent |
863 | return iscurrent | 863 | return iscurrent |
864 | 864 | ||
865 | def execute_runqueue(self): | 865 | def _execute_runqueue(self): |
866 | """ | 866 | """ |
867 | Run the tasks in a queue prepared by rqdata.prepare() | 867 | Run the tasks in a queue prepared by rqdata.prepare() |
868 | Upon failure, optionally try to recover the build using any alternate providers | 868 | Upon failure, optionally try to recover the build using any alternate providers |
@@ -926,6 +926,14 @@ class RunQueue: | |||
926 | # Loop | 926 | # Loop |
927 | return retval | 927 | return retval |
928 | 928 | ||
929 | def execute_runqueue(self): | ||
930 | try: | ||
931 | return self._execute_runqueue() | ||
932 | except: | ||
933 | logger.error("An uncaught exception occured in runqueue, please see the failure below:") | ||
934 | self.state = runQueueComplete | ||
935 | raise | ||
936 | |||
929 | def finish_runqueue(self, now = False): | 937 | def finish_runqueue(self, now = False): |
930 | if not self.rqexe: | 938 | if not self.rqexe: |
931 | return | 939 | return |