| OLD | NEW | 
|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 DEPS = [ | 5 DEPS = [ | 
| 6   'depot_tools/gclient', | 6   'depot_tools/gclient', | 
| 7   'ios', | 7   'ios', | 
| 8   'recipe_engine/json', | 8   'recipe_engine/json', | 
| 9   'recipe_engine/platform', | 9   'recipe_engine/platform', | 
| 10   'recipe_engine/properties', | 10   'recipe_engine/properties', | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 44             }, | 44             }, | 
| 45             'ios': { | 45             'ios': { | 
| 46                 'exclusions': [], | 46                 'exclusions': [], | 
| 47             }, | 47             }, | 
| 48         }) | 48         }) | 
| 49     ) | 49     ) | 
| 50 | 50 | 
| 51   yield ( | 51   yield ( | 
| 52     api.test('basic') | 52     api.test('basic') | 
| 53     + api.platform('mac', 64) | 53     + api.platform('mac', 64) | 
| 54     + api.properties(patch_url='patch url') |  | 
| 55     + api.properties( | 54     + api.properties( | 
| 56       buildername='ios-simulator', | 55       buildername='ios-simulator', | 
| 57       buildnumber='0', | 56       buildnumber='0', | 
| 58       issue=123456, | 57       issue=123456, | 
| 59       mastername='tryserver.fake', | 58       mastername='tryserver.fake', | 
| 60       patchset=1, | 59       patchset=1, | 
| 61       rietveld='fake://rietveld.url', | 60       rietveld='fake://rietveld.url', | 
| 62       slavename='fake-vm', | 61       slavename='fake-vm', | 
| 63       path_config='kitchen', | 62       path_config='kitchen', | 
| 64     ) | 63     ) | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 81     + api.step_data( | 80     + api.step_data( | 
| 82         'bootstrap swarming.swarming.py --version', | 81         'bootstrap swarming.swarming.py --version', | 
| 83         stdout=api.raw_io.output('1.2.3'), | 82         stdout=api.raw_io.output('1.2.3'), | 
| 84     ) | 83     ) | 
| 85     + suppress_analyze() | 84     + suppress_analyze() | 
| 86   ) | 85   ) | 
| 87 | 86 | 
| 88   yield ( | 87   yield ( | 
| 89     api.test('no_tests') | 88     api.test('no_tests') | 
| 90     + api.platform('mac', 64) | 89     + api.platform('mac', 64) | 
| 91     + api.properties(patch_url='patch url') |  | 
| 92     + api.properties( | 90     + api.properties( | 
| 93       buildername='ios-simulator', | 91       buildername='ios-simulator', | 
| 94       buildnumber='0', | 92       buildnumber='0', | 
| 95       issue=123456, | 93       issue=123456, | 
| 96       mastername='tryserver.fake', | 94       mastername='tryserver.fake', | 
| 97       patchset=1, | 95       patchset=1, | 
| 98       rietveld='fake://rietveld.url', | 96       rietveld='fake://rietveld.url', | 
| 99       slavename='fake-vm', | 97       slavename='fake-vm', | 
| 100       path_config='kitchen', | 98       path_config='kitchen', | 
| 101     ) | 99     ) | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 113     + api.step_data( | 111     + api.step_data( | 
| 114         'bootstrap swarming.swarming.py --version', | 112         'bootstrap swarming.swarming.py --version', | 
| 115         stdout=api.raw_io.output('1.2.3'), | 113         stdout=api.raw_io.output('1.2.3'), | 
| 116     ) | 114     ) | 
| 117     + suppress_analyze() | 115     + suppress_analyze() | 
| 118   ) | 116   ) | 
| 119 | 117 | 
| 120   yield ( | 118   yield ( | 
| 121     api.test('swarming') | 119     api.test('swarming') | 
| 122     + api.platform('mac', 64) | 120     + api.platform('mac', 64) | 
| 123     + api.properties(patch_url='patch url') |  | 
| 124     + api.properties( | 121     + api.properties( | 
| 125       buildername='ios-simulator-swarming', | 122       buildername='ios-simulator-swarming', | 
| 126       buildnumber='0', | 123       buildnumber='0', | 
| 127       issue=123456, | 124       issue=123456, | 
| 128       mastername='tryserver.fake', | 125       mastername='tryserver.fake', | 
| 129       patchset=1, | 126       patchset=1, | 
| 130       rietveld='fake://rietveld.url', | 127       rietveld='fake://rietveld.url', | 
| 131       slavename='fake-vm', | 128       slavename='fake-vm', | 
| 132       path_config='kitchen', | 129       path_config='kitchen', | 
| 133     ) | 130     ) | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 150     + api.step_data( | 147     + api.step_data( | 
| 151         'bootstrap swarming.swarming.py --version', | 148         'bootstrap swarming.swarming.py --version', | 
| 152         stdout=api.raw_io.output('1.2.3'), | 149         stdout=api.raw_io.output('1.2.3'), | 
| 153     ) | 150     ) | 
| 154     + suppress_analyze() | 151     + suppress_analyze() | 
| 155   ) | 152   ) | 
| 156 | 153 | 
| 157   yield ( | 154   yield ( | 
| 158     api.test('swarming_tests_skipped') | 155     api.test('swarming_tests_skipped') | 
| 159     + api.platform('mac', 64) | 156     + api.platform('mac', 64) | 
| 160     + api.properties(patch_url='patch url') |  | 
| 161     + api.properties( | 157     + api.properties( | 
| 162       buildername='ios-simulator-swarming', | 158       buildername='ios-simulator-swarming', | 
| 163       buildnumber='0', | 159       buildnumber='0', | 
| 164       issue=123456, | 160       issue=123456, | 
| 165       mastername='tryserver.fake', | 161       mastername='tryserver.fake', | 
| 166       patchset=1, | 162       patchset=1, | 
| 167       rietveld='fake://rietveld.url', | 163       rietveld='fake://rietveld.url', | 
| 168       slavename='fake-vm', | 164       slavename='fake-vm', | 
| 169       path_config='kitchen', | 165       path_config='kitchen', | 
| 170     ) | 166     ) | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 187     + api.step_data( | 183     + api.step_data( | 
| 188         'bootstrap swarming.swarming.py --version', | 184         'bootstrap swarming.swarming.py --version', | 
| 189         stdout=api.raw_io.output('1.2.3'), | 185         stdout=api.raw_io.output('1.2.3'), | 
| 190     ) | 186     ) | 
| 191   ) | 187   ) | 
| 192 | 188 | 
| 193   # The same test as above but applying an icu patch. | 189   # The same test as above but applying an icu patch. | 
| 194   yield ( | 190   yield ( | 
| 195     api.test('icu_patch') | 191     api.test('icu_patch') | 
| 196     + api.platform('mac', 64) | 192     + api.platform('mac', 64) | 
| 197     + api.properties(patch_url='patch url') |  | 
| 198     + api.properties( | 193     + api.properties( | 
| 199       buildername='ios-simulator', | 194       buildername='ios-simulator', | 
| 200       buildnumber='0', | 195       buildnumber='0', | 
| 201       issue=123456, | 196       issue=123456, | 
| 202       mastername='tryserver.fake', | 197       mastername='tryserver.fake', | 
| 203       patchset=1, | 198       patchset=1, | 
| 204       patch_project='icu', | 199       patch_project='icu', | 
| 205       rietveld='fake://rietveld.url', | 200       rietveld='fake://rietveld.url', | 
| 206       slavename='fake-vm', | 201       slavename='fake-vm', | 
| 207       path_config='kitchen', | 202       path_config='kitchen', | 
| (...skipping 17 matching lines...) Expand all  Loading... | 
| 225     + api.step_data( | 220     + api.step_data( | 
| 226         'bootstrap swarming.swarming.py --version', | 221         'bootstrap swarming.swarming.py --version', | 
| 227         stdout=api.raw_io.output('1.2.3'), | 222         stdout=api.raw_io.output('1.2.3'), | 
| 228     ) | 223     ) | 
| 229     + suppress_analyze() | 224     + suppress_analyze() | 
| 230   ) | 225   ) | 
| 231 | 226 | 
| 232   yield ( | 227   yield ( | 
| 233     api.test('parent') | 228     api.test('parent') | 
| 234     + api.platform('mac', 64) | 229     + api.platform('mac', 64) | 
| 235     + api.properties(patch_url='patch url') |  | 
| 236     + api.properties( | 230     + api.properties( | 
| 237       buildername='ios', | 231       buildername='ios', | 
| 238       buildnumber='0', | 232       buildnumber='0', | 
| 239       issue=123456, | 233       issue=123456, | 
| 240       mastername='tryserver.fake', | 234       mastername='tryserver.fake', | 
| 241       patchset=1, | 235       patchset=1, | 
| 242       rietveld='fake://rietveld.url', | 236       rietveld='fake://rietveld.url', | 
| 243       slavename='fake-vm', | 237       slavename='fake-vm', | 
| 244       path_config='kitchen', | 238       path_config='kitchen', | 
| 245     ) | 239     ) | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 265     + api.step_data( | 259     + api.step_data( | 
| 266         'bootstrap swarming.swarming.py --version', | 260         'bootstrap swarming.swarming.py --version', | 
| 267         stdout=api.raw_io.output('1.2.3'), | 261         stdout=api.raw_io.output('1.2.3'), | 
| 268     ) | 262     ) | 
| 269     + suppress_analyze() | 263     + suppress_analyze() | 
| 270   ) | 264   ) | 
| 271 | 265 | 
| 272   yield ( | 266   yield ( | 
| 273     api.test('without_patch_success') | 267     api.test('without_patch_success') | 
| 274     + api.platform('mac', 64) | 268     + api.platform('mac', 64) | 
| 275     + api.properties(patch_url='patch url') |  | 
| 276     + api.properties( | 269     + api.properties( | 
| 277       buildername='ios', | 270       buildername='ios', | 
| 278       buildnumber='0', | 271       buildnumber='0', | 
| 279       issue=123456, | 272       issue=123456, | 
| 280       mastername='tryserver.fake', | 273       mastername='tryserver.fake', | 
| 281       patchset=1, | 274       patchset=1, | 
| 282       rietveld='fake://rietveld.url', | 275       rietveld='fake://rietveld.url', | 
| 283       slavename='fake-vm', | 276       slavename='fake-vm', | 
| 284       path_config='kitchen', | 277       path_config='kitchen', | 
| 285     ) | 278     ) | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
| 299         }, | 292         }, | 
| 300       ], | 293       ], | 
| 301     }) | 294     }) | 
| 302     + suppress_analyze() | 295     + suppress_analyze() | 
| 303     + api.step_data('compile (with patch)', retcode=1) | 296     + api.step_data('compile (with patch)', retcode=1) | 
| 304   ) | 297   ) | 
| 305 | 298 | 
| 306   yield ( | 299   yield ( | 
| 307     api.test('without_patch_failure') | 300     api.test('without_patch_failure') | 
| 308     + api.platform('mac', 64) | 301     + api.platform('mac', 64) | 
| 309     + api.properties(patch_url='patch url') |  | 
| 310     + api.properties( | 302     + api.properties( | 
| 311       buildername='ios', | 303       buildername='ios', | 
| 312       buildnumber='0', | 304       buildnumber='0', | 
| 313       issue=123456, | 305       issue=123456, | 
| 314       mastername='tryserver.fake', | 306       mastername='tryserver.fake', | 
| 315       patchset=1, | 307       patchset=1, | 
| 316       rietveld='fake://rietveld.url', | 308       rietveld='fake://rietveld.url', | 
| 317       slavename='fake-vm', | 309       slavename='fake-vm', | 
| 318       path_config='kitchen', | 310       path_config='kitchen', | 
| 319     ) | 311     ) | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
| 334       ], | 326       ], | 
| 335     }) | 327     }) | 
| 336     + suppress_analyze() | 328     + suppress_analyze() | 
| 337     + api.step_data('compile (with patch)', retcode=1) | 329     + api.step_data('compile (with patch)', retcode=1) | 
| 338     + api.step_data('compile (without patch)', retcode=1) | 330     + api.step_data('compile (without patch)', retcode=1) | 
| 339   ) | 331   ) | 
| 340 | 332 | 
| 341   yield ( | 333   yield ( | 
| 342     api.test('gn') | 334     api.test('gn') | 
| 343     + api.platform('mac', 64) | 335     + api.platform('mac', 64) | 
| 344     + api.properties(patch_url='patch url') |  | 
| 345     + api.properties( | 336     + api.properties( | 
| 346       buildername='ios-simulator-gn', | 337       buildername='ios-simulator-gn', | 
| 347       buildnumber='0', | 338       buildnumber='0', | 
| 348       issue=123456, | 339       issue=123456, | 
| 349       mastername='tryserver.fake', | 340       mastername='tryserver.fake', | 
| 350       patchset=1, | 341       patchset=1, | 
| 351       rietveld='fake://rietveld.url', | 342       rietveld='fake://rietveld.url', | 
| 352       slavename='fake-vm', | 343       slavename='fake-vm', | 
| 353       path_config='kitchen', | 344       path_config='kitchen', | 
| 354     ) | 345     ) | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 375     + api.step_data( | 366     + api.step_data( | 
| 376         'bootstrap swarming.swarming.py --version', | 367         'bootstrap swarming.swarming.py --version', | 
| 377         stdout=api.raw_io.output('1.2.3'), | 368         stdout=api.raw_io.output('1.2.3'), | 
| 378     ) | 369     ) | 
| 379     + suppress_analyze() | 370     + suppress_analyze() | 
| 380   ) | 371   ) | 
| 381 | 372 | 
| 382   yield ( | 373   yield ( | 
| 383     api.test('gyp_goma') | 374     api.test('gyp_goma') | 
| 384     + api.platform('mac', 64) | 375     + api.platform('mac', 64) | 
| 385     + api.properties(patch_url='patch url') |  | 
| 386     + api.properties( | 376     + api.properties( | 
| 387       buildername='ios-simulator', | 377       buildername='ios-simulator', | 
| 388       buildnumber='0', | 378       buildnumber='0', | 
| 389       issue=123456, | 379       issue=123456, | 
| 390       mastername='tryserver.fake', | 380       mastername='tryserver.fake', | 
| 391       patchset=1, | 381       patchset=1, | 
| 392       rietveld='fake://rietveld.url', | 382       rietveld='fake://rietveld.url', | 
| 393       slavename='fake-vm', | 383       slavename='fake-vm', | 
| 394       path_config='kitchen', | 384       path_config='kitchen', | 
| 395     ) | 385     ) | 
| (...skipping 18 matching lines...) Expand all  Loading... | 
| 414           'os': '8.1', | 404           'os': '8.1', | 
| 415         }, | 405         }, | 
| 416       ], | 406       ], | 
| 417     }) | 407     }) | 
| 418     + api.step_data( | 408     + api.step_data( | 
| 419         'bootstrap swarming.swarming.py --version', | 409         'bootstrap swarming.swarming.py --version', | 
| 420         stdout=api.raw_io.output('1.2.3'), | 410         stdout=api.raw_io.output('1.2.3'), | 
| 421     ) | 411     ) | 
| 422     + suppress_analyze() | 412     + suppress_analyze() | 
| 423   ) | 413   ) | 
| OLD | NEW | 
|---|