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

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
« no previous file with comments | « scripts/slave/recipes/ios/try.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "git",
124 "-configuration", 124 "diff",
125 "Debug", 125 "--cached",
126 "-project", 126 "--name-only"
127 "[SLAVE_BUILD]/src/build/all.xcodeproj",
128 "-sdk",
129 "iphonesimulator8.0"
130 ], 127 ],
131 "cwd": "[SLAVE_BUILD]/src/xcodebuild", 128 "cwd": "[SLAVE_BUILD]/src",
129 "name": "git diff to analyze patch",
130 "stdout": "/path/to/tmp/",
131 "~followup_annotations": [
132 "@@@STEP_LOG_LINE@files@foo.cc@@@",
133 "@@@STEP_LOG_END@files@@@"
134 ]
135 },
136 {
137 "cmd": [
138 "python",
139 "-u",
140 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
141 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
142 "/path/to/tmp/json"
143 ],
144 "name": "read filter exclusion spec",
145 "~followup_annotations": [
146 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
147 "@@@STEP_LOG_LINE@json.output@{@@@",
148 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
149 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
150 "@@@STEP_LOG_LINE@json.output@ }, @@@",
151 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
152 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
153 "@@@STEP_LOG_LINE@json.output@ }@@@",
154 "@@@STEP_LOG_LINE@json.output@}@@@",
155 "@@@STEP_LOG_END@json.output@@@"
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 "env": {
168 "GYP_DEFINES": "fake gyp define 1='fake value 1' fake gyp define 2='fake v alue 2'"
169 },
170 "name": "analyze",
171 "~followup_annotations": [
172 "@@@STEP_TEXT@No compile necessary@@@",
173 "@@@STEP_LOG_LINE@json.output@{@@@",
174 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [], @@@",
175 "@@@STEP_LOG_LINE@json.output@ \"status\": \"No dependency\", @@@",
176 "@@@STEP_LOG_LINE@json.output@ \"targets\": []@@@",
177 "@@@STEP_LOG_LINE@json.output@}@@@",
178 "@@@STEP_LOG_END@json.output@@@"
179 ]
180 },
181 {
182 "cmd": [
183 "ninja",
184 "-C",
185 "[SLAVE_BUILD]/src/out/Debug-iphonesimulator"
186 ],
187 "cwd": "[SLAVE_BUILD]/src/out/Debug-iphonesimulator",
132 "name": "compile" 188 "name": "compile"
133 }, 189 },
134 { 190 {
135 "cmd": [ 191 "cmd": [
136 "[BUILD]/scripts/slave/ios/run.py", 192 "[BUILD]/scripts/slave/ios/run.py",
137 "--app", 193 "--app",
138 "[SLAVE_BUILD]/src/xcodebuild/Debug-iphonesimulator/fake tests.app", 194 "[SLAVE_BUILD]/src/out/Debug-iphonesimulator/fake tests.app",
139 "--json_file", 195 "--json_file",
140 "/path/to/tmp/json", 196 "/path/to/tmp/json",
141 "--iossim", 197 "--iossim",
142 "[SLAVE_BUILD]/src/xcodebuild/ninja-iossim/Debug/iossim", 198 "[SLAVE_BUILD]/src/out/Debug-iphonesimulator/iossim",
143 "--platform", 199 "--platform",
144 "fake device", 200 "fake device",
145 "--version", 201 "--version",
146 "8.1" 202 "8.1"
147 ], 203 ],
148 "name": "fake tests (fake device iOS 8.1)", 204 "name": "fake tests (fake device iOS 8.1)",
149 "~followup_annotations": [ 205 "~followup_annotations": [
150 "@@@STEP_LOG_LINE@json.output@{@@@", 206 "@@@STEP_LOG_LINE@json.output@{@@@",
151 "@@@STEP_LOG_LINE@json.output@ \"links\": {@@@", 207 "@@@STEP_LOG_LINE@json.output@ \"links\": {@@@",
152 "@@@STEP_LOG_LINE@json.output@ \"fake URL text\": \"fake URL\"@@@", 208 "@@@STEP_LOG_LINE@json.output@ \"fake URL text\": \"fake URL\"@@@",
153 "@@@STEP_LOG_LINE@json.output@ }, @@@", 209 "@@@STEP_LOG_LINE@json.output@ }, @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"logs\": {@@@", 210 "@@@STEP_LOG_LINE@json.output@ \"logs\": {@@@",
155 "@@@STEP_LOG_LINE@json.output@ \"fake log\": [@@@", 211 "@@@STEP_LOG_LINE@json.output@ \"fake log\": [@@@",
156 "@@@STEP_LOG_LINE@json.output@ \"fake log line 1\", @@@", 212 "@@@STEP_LOG_LINE@json.output@ \"fake log line 1\", @@@",
157 "@@@STEP_LOG_LINE@json.output@ \"fake log line 2\"@@@", 213 "@@@STEP_LOG_LINE@json.output@ \"fake log line 2\"@@@",
158 "@@@STEP_LOG_LINE@json.output@ ]@@@", 214 "@@@STEP_LOG_LINE@json.output@ ]@@@",
159 "@@@STEP_LOG_LINE@json.output@ }@@@", 215 "@@@STEP_LOG_LINE@json.output@ }@@@",
160 "@@@STEP_LOG_LINE@json.output@}@@@", 216 "@@@STEP_LOG_LINE@json.output@}@@@",
161 "@@@STEP_LOG_END@json.output@@@", 217 "@@@STEP_LOG_END@json.output@@@",
162 "@@@STEP_LOG_LINE@fake log@fake log line 1@@@", 218 "@@@STEP_LOG_LINE@fake log@fake log line 1@@@",
163 "@@@STEP_LOG_LINE@fake log@fake log line 2@@@", 219 "@@@STEP_LOG_LINE@fake log@fake log line 2@@@",
164 "@@@STEP_LOG_END@fake log@@@", 220 "@@@STEP_LOG_END@fake log@@@",
165 "@@@STEP_LINK@fake URL text@fake URL@@@" 221 "@@@STEP_LINK@fake URL text@fake URL@@@"
166 ] 222 ]
167 } 223 }
168 ] 224 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/ios/try.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698