Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Unified Diff: scripts/slave/recipes/chromium.expected/full_chromium_chrome_Google_Chrome_Mac.json

Issue 1371913005: chromium_tests: add explicit compile targets to bots that need them (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
}
]

Powered by Google App Engine
This is Rietveld 408576698