Index: scripts/slave/recipe_modules/bot_update/test_api.py |
diff --git a/scripts/slave/recipe_modules/bot_update/test_api.py b/scripts/slave/recipe_modules/bot_update/test_api.py |
index 013bfdb3a84f50556ff925a629011c51915f73b7..282446cd1c8c15c9fcf48334d4c80165e8af486f 100644 |
--- a/scripts/slave/recipe_modules/bot_update/test_api.py |
+++ b/scripts/slave/recipe_modules/bot_update/test_api.py |
@@ -72,6 +72,9 @@ class BotUpdateTestApi(recipe_test_api.RecipeTestApi): |
if fail_patch: |
output['log_lines'] = [('patch error', 'Patch failed to apply'),] |
output['patch_failure'] = True |
+ output['return_code'] = 1 |
Sergiy Byelozyorov
2015/10/02 12:44:35
if fail_patch == 'apply':
output['return_code']
tandrii(chromium)
2015/10/02 12:50:36
If it's 0 OR if apply_issue isn't run at all, it's
|
+ if fail_patch == 'download': |
+ output['return_code'] = 3 |
return self.m.json.output(output) |
@staticmethod |