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

Side by Side Diff: scripts/slave/recipes/ios/try.expected/basic.json

Issue 957493002: Add analyze steps to iOS try bot builds which use ninja (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "[BUILD]/scripts/slave/ios/host_info.py", 4 "[BUILD]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 "[SLAVE_BUILD]/src/ios/build/bots/tryserver.fake/ios.json", 64 "[SLAVE_BUILD]/src/ios/build/bots/tryserver.fake/ios.json",
65 "/path/to/tmp/json" 65 "/path/to/tmp/json"
66 ], 66 ],
67 "name": "read build config", 67 "name": "read build config",
68 "~followup_annotations": [ 68 "~followup_annotations": [
69 "@@@STEP_LOG_LINE@json.output@{@@@", 69 "@@@STEP_LOG_LINE@json.output@{@@@",
70 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": {@@@", 70 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": {@@@",
71 "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 1\": \"fake value 1\", @@@", 71 "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 1\": \"fake value 1\", @@@",
72 "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 2\": \"fake value 2\"@ @@", 72 "@@@STEP_LOG_LINE@json.output@ \"fake gyp define 2\": \"fake value 2\"@ @@",
73 "@@@STEP_LOG_LINE@json.output@ }, @@@", 73 "@@@STEP_LOG_LINE@json.output@ }, @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"xcodebuild\", @@@", 74 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"ninja\", @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", 75 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
76 "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"iphonesimulator8.0\", @@@", 76 "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"iphonesimulator8.0\", @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@", 77 "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@",
78 "@@@STEP_LOG_LINE@json.output@ {@@@", 78 "@@@STEP_LOG_LINE@json.output@ {@@@",
79 "@@@STEP_LOG_LINE@json.output@ \"app\": \"fake tests\", @@@", 79 "@@@STEP_LOG_LINE@json.output@ \"app\": \"fake tests\", @@@",
80 "@@@STEP_LOG_LINE@json.output@ \"device type\": \"fake device\", @@@" , 80 "@@@STEP_LOG_LINE@json.output@ \"device type\": \"fake device\", @@@" ,
81 "@@@STEP_LOG_LINE@json.output@ \"os\": \"8.1\"@@@", 81 "@@@STEP_LOG_LINE@json.output@ \"os\": \"8.1\"@@@",
82 "@@@STEP_LOG_LINE@json.output@ }@@@", 82 "@@@STEP_LOG_LINE@json.output@ }@@@",
83 "@@@STEP_LOG_LINE@json.output@ ], @@@", 83 "@@@STEP_LOG_LINE@json.output@ ], @@@",
84 "@@@STEP_LOG_LINE@json.output@ \"xcode version\": \"fake xcode version\"@ @@", 84 "@@@STEP_LOG_LINE@json.output@ \"xcode version\": \"fake xcode version\"@ @@",
(...skipping 16 matching lines...) Expand all
101 ] 101 ]
102 }, 102 },
103 { 103 {
104 "cmd": [ 104 "cmd": [
105 "python", 105 "python",
106 "-u", 106 "-u",
107 "[DEPOT_TOOLS]/gclient.py", 107 "[DEPOT_TOOLS]/gclient.py",
108 "runhooks" 108 "runhooks"
109 ], 109 ],
110 "env": { 110 "env": {
111 "GYP_CROSSCOMPILE": "1",
111 "GYP_DEFINES": "component=static_library OS=ios fake gyp define 1=fake val ue 1 fake gyp define 2=fake value 2", 112 "GYP_DEFINES": "component=static_library OS=ios fake gyp define 1=fake val ue 1 fake gyp define 2=fake value 2",
112 "GYP_GENERATORS": "xcode", 113 "GYP_GENERATORS": "ninja",
113 "GYP_GENERATOR_FLAGS": "xcode_project_version=3.2",
114 "LANDMINES_VERBOSE": "1" 114 "LANDMINES_VERBOSE": "1"
115 }, 115 },
116 "name": "gclient runhooks", 116 "name": "gclient runhooks",
117 "~followup_annotations": [ 117 "~followup_annotations": [
118 "@@@STEP_TEXT@<br />GYP_DEFINES:<br />component=static_library<br />OS=ios <br />fake gyp define 1=fake value 1<br />fake gyp define 2=fake value 2@@@" 118 "@@@STEP_TEXT@<br />GYP_DEFINES:<br />component=static_library<br />OS=ios <br />fake gyp define 1=fake value 1<br />fake gyp define 2=fake value 2@@@"
119 ] 119 ]
120 }, 120 },
121 { 121 {
122 "cmd": [ 122 "cmd": [
123 "xcodebuild", 123 "python",
124 "-configuration", 124 "-u",
125 "Debug", 125 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
126 "-project", 126 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
127 "[SLAVE_BUILD]/src/build/all.xcodeproj", 127 "/path/to/tmp/json"
128 "-sdk",
129 "iphonesimulator8.0"
130 ], 128 ],
131 "cwd": "[SLAVE_BUILD]/src/xcodebuild", 129 "name": "read filter exclusion spec",
130 "~followup_annotations": [
131 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
132 "@@@STEP_LOG_LINE@json.output@{@@@",
133 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
134 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
135 "@@@STEP_LOG_LINE@json.output@ }, @@@",
136 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
137 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
138 "@@@STEP_LOG_LINE@json.output@ }@@@",
139 "@@@STEP_LOG_LINE@json.output@}@@@",
140 "@@@STEP_LOG_END@json.output@@@"
141 ]
142 },
143 {
144 "cmd": [
145 "git",
146 "diff",
147 "--cached",
148 "--name-only"
149 ],
150 "cwd": "[SLAVE_BUILD]/src",
151 "name": "git diff to analyze patch",
152 "stdout": "/path/to/tmp/",
153 "~followup_annotations": [
154 "@@@STEP_LOG_LINE@files@foo.cc@@@",
155 "@@@STEP_LOG_END@files@@@"
156 ]
157 },
158 {
159 "cmd": [
160 "python",
161 "-u",
162 "[SLAVE_BUILD]/src/build/gyp_chromium",
163 "--analyzer",
164 "{\"files\": [\"foo.cc\"], \"targets\": [\"fake tests\"]}",
165 "/path/to/tmp/json"
166 ],
167 "name": "analyze",
168 "~followup_annotations": [
169 "@@@STEP_TEXT@No compile necessary@@@",
170 "@@@STEP_LOG_LINE@json.output@{@@@",
171 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [], @@@",
172 "@@@STEP_LOG_LINE@json.output@ \"status\": \"No dependency\", @@@",
173 "@@@STEP_LOG_LINE@json.output@ \"targets\": []@@@",
174 "@@@STEP_LOG_LINE@json.output@}@@@",
175 "@@@STEP_LOG_END@json.output@@@"
176 ]
177 },
178 {
179 "cmd": [
180 "ninja",
181 "-C",
182 "[SLAVE_BUILD]/src/out/Debug-iphonesimulator"
183 ],
184 "cwd": "[SLAVE_BUILD]/src/out/Debug-iphonesimulator",
132 "name": "compile" 185 "name": "compile"
133 }, 186 },
134 { 187 {
135 "cmd": [ 188 "cmd": [
136 "[BUILD]/scripts/slave/ios/run.py", 189 "[BUILD]/scripts/slave/ios/run.py",
137 "--app", 190 "--app",
138 "[SLAVE_BUILD]/src/xcodebuild/Debug-iphonesimulator/fake tests.app", 191 "[SLAVE_BUILD]/src/out/Debug-iphonesimulator/fake tests.app",
139 "--json_file", 192 "--json_file",
140 "/path/to/tmp/json", 193 "/path/to/tmp/json",
141 "--iossim", 194 "--iossim",
142 "[SLAVE_BUILD]/src/xcodebuild/ninja-iossim/Debug/iossim", 195 "[SLAVE_BUILD]/src/out/Debug-iphonesimulator/iossim",
143 "--platform", 196 "--platform",
144 "fake device", 197 "fake device",
145 "--version", 198 "--version",
146 "8.1" 199 "8.1"
147 ], 200 ],
148 "name": "fake tests (fake device iOS 8.1)", 201 "name": "fake tests (fake device iOS 8.1)",
149 "~followup_annotations": [ 202 "~followup_annotations": [
150 "@@@STEP_LOG_LINE@json.output@{@@@", 203 "@@@STEP_LOG_LINE@json.output@{@@@",
151 "@@@STEP_LOG_LINE@json.output@ \"links\": {@@@", 204 "@@@STEP_LOG_LINE@json.output@ \"links\": {@@@",
152 "@@@STEP_LOG_LINE@json.output@ \"fake URL text\": \"fake URL\"@@@", 205 "@@@STEP_LOG_LINE@json.output@ \"fake URL text\": \"fake URL\"@@@",
153 "@@@STEP_LOG_LINE@json.output@ }, @@@", 206 "@@@STEP_LOG_LINE@json.output@ }, @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"logs\": {@@@", 207 "@@@STEP_LOG_LINE@json.output@ \"logs\": {@@@",
155 "@@@STEP_LOG_LINE@json.output@ \"fake log\": [@@@", 208 "@@@STEP_LOG_LINE@json.output@ \"fake log\": [@@@",
156 "@@@STEP_LOG_LINE@json.output@ \"fake log line 1\", @@@", 209 "@@@STEP_LOG_LINE@json.output@ \"fake log line 1\", @@@",
157 "@@@STEP_LOG_LINE@json.output@ \"fake log line 2\"@@@", 210 "@@@STEP_LOG_LINE@json.output@ \"fake log line 2\"@@@",
158 "@@@STEP_LOG_LINE@json.output@ ]@@@", 211 "@@@STEP_LOG_LINE@json.output@ ]@@@",
159 "@@@STEP_LOG_LINE@json.output@ }@@@", 212 "@@@STEP_LOG_LINE@json.output@ }@@@",
160 "@@@STEP_LOG_LINE@json.output@}@@@", 213 "@@@STEP_LOG_LINE@json.output@}@@@",
161 "@@@STEP_LOG_END@json.output@@@", 214 "@@@STEP_LOG_END@json.output@@@",
162 "@@@STEP_LOG_LINE@fake log@fake log line 1@@@", 215 "@@@STEP_LOG_LINE@fake log@fake log line 1@@@",
163 "@@@STEP_LOG_LINE@fake log@fake log line 2@@@", 216 "@@@STEP_LOG_LINE@fake log@fake log line 2@@@",
164 "@@@STEP_LOG_END@fake log@@@", 217 "@@@STEP_LOG_END@fake log@@@",
165 "@@@STEP_LINK@fake URL text@fake URL@@@" 218 "@@@STEP_LINK@fake URL text@fake URL@@@"
166 ] 219 ]
167 } 220 }
168 ] 221 ]
OLDNEW
« scripts/slave/recipe_modules/ios/api.py ('K') | « scripts/slave/recipes/ios/try.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698