Index: scripts/slave/recipes/chromium.expected/full_chromium_chrome_Google_Chrome_Mac.json |
diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_chrome_Google_Chrome_Mac.json b/scripts/slave/recipes/chromium.expected/full_chromium_chrome_Google_Chrome_Mac.json |
index 0f72636445697124fe26cf9133254e8391e9ec5d..4d2a2c5151237b45f918c8c51d9df130f94a56d8 100644 |
--- a/scripts/slave/recipes/chromium.expected/full_chromium_chrome_Google_Chrome_Mac.json |
+++ b/scripts/slave/recipes/chromium.expected/full_chromium_chrome_Google_Chrome_Mac.json |
@@ -118,22 +118,47 @@ |
"name": "cleanup_temp" |
}, |
{ |
+ "allow_subannotations": true, |
"cmd": [ |
"python", |
"-u", |
- "import sys; sys.exit(1)" |
+ "[BUILD]/scripts/slave/clang_revision.py", |
+ "--src-dir", |
+ "[SLAVE_BUILD]/src", |
+ "--output-json", |
+ "/path/to/tmp/json" |
], |
"cwd": "[SLAVE_BUILD]", |
- "name": "compile", |
+ "name": "clang_revision", |
"~followup_annotations": [ |
- "step returned non-zero exit code: 1", |
- "@@@STEP_TEXT@Misconfigured bot: no compile targets@@@", |
- "@@@STEP_FAILURE@@@" |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
] |
}, |
{ |
- "name": "$final_result", |
- "reason": "Step('compile') failed with return_code 1", |
- "status_code": 1 |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[BUILD]/scripts/slave/compile.py", |
+ "--target", |
+ "Release", |
+ "--src-dir", |
+ "[SLAVE_BUILD]/src", |
+ "--build-tool", |
+ "ninja", |
+ "--compiler", |
+ "goma-clang", |
+ "--mode", |
+ "official", |
+ "--goma-dir", |
+ "[BUILD]/goma", |
+ "--clobber", |
+ "--", |
+ "chrome" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "compile" |
} |
] |