Index: build/android/buildbot/bb_utils.py |
diff --git a/build/android/buildbot/bb_utils.py b/build/android/buildbot/bb_utils.py |
index 223f4aeb1c88a69e776244100b78d5dc655765b4..71ac7b28fa86160f72d29fc5082feeba86fafe8c 100644 |
--- a/build/android/buildbot/bb_utils.py |
+++ b/build/android/buildbot/bb_utils.py |
@@ -96,6 +96,9 @@ def RunSteps(steps, step_cmds, options): |
print >> sys.stderr, 'FATAL: Unknown steps %s' % list(unknown_steps) |
sys.exit(1) |
+ exit_code = 0 |
for step, cmd in step_cmds: |
if step in steps: |
- cmd(options) |
+ exit_code = cmd(options) or exit_code |
+ |
+ return exit_code |