| OLD | NEW | 
|    1 # Copyright 2013 The Chromium Authors. All rights reserved. |    1 # Copyright 2013 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   'adb', |    6   'adb', | 
|    7   'amp', |    7   'amp', | 
|    8   'bisect_tester', |    8   'bisect_tester', | 
|    9   'bot_update', |    9   'bot_update', | 
|   10   'chromium', |   10   'chromium', | 
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  154         test += api.override_step_data('read test spec', api.json.output({ |  154         test += api.override_step_data('read test spec', api.json.output({ | 
|  155             b: { |  155             b: { | 
|  156             'gtest_tests': [ |  156             'gtest_tests': [ | 
|  157               { |  157               { | 
|  158                 'test': 'browser_tests', |  158                 'test': 'browser_tests', | 
|  159                 'swarming': {'can_use_on_swarming_builders': True}, |  159                 'swarming': {'can_use_on_swarming_builders': True}, | 
|  160               }, |  160               }, | 
|  161             ], |  161             ], | 
|  162           } for b in builders_with_tests |  162           } for b in builders_with_tests | 
|  163         })) |  163         })) | 
|  164  |  | 
|  165       yield test |  164       yield test | 
|  166  |  165  | 
|  167   yield ( |  166   yield ( | 
|  168     api.test('dynamic_gtest') + |  167     api.test('dynamic_gtest') + | 
|  169     api.properties.generic(mastername='chromium.linux', |  168     api.properties.generic(mastername='chromium.linux', | 
|  170                            buildername='Linux Tests', |  169                            buildername='Linux Tests', | 
|  171                            parent_buildername='Linux Builder') + |  170                            parent_buildername='Linux Builder') + | 
|  172     api.platform('linux', 64) + |  171     api.platform('linux', 64) + | 
|  173     api.override_step_data('read test spec', api.json.output({ |  172     api.override_step_data('read test spec', api.json.output({ | 
|  174       'Linux Tests': { |  173       'Linux Tests': { | 
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  227           { |  226           { | 
|  228             'isolate_name': 'telemetry_gpu_unittests', |  227             'isolate_name': 'telemetry_gpu_unittests', | 
|  229             'name': 'telemetry_gpu_unittests' |  228             'name': 'telemetry_gpu_unittests' | 
|  230           }, |  229           }, | 
|  231         ], |  230         ], | 
|  232       }, |  231       }, | 
|  233     })) |  232     })) | 
|  234   ) |  233   ) | 
|  235  |  234  | 
|  236   yield ( |  235   yield ( | 
 |  236     api.test('build_dynamic_swarmed_isolated_script_test') + | 
 |  237     api.properties.generic(mastername='chromium.linux', | 
 |  238                            buildername='Linux Builder') + | 
 |  239     api.platform('linux', 64) + | 
 |  240     api.override_step_data('read test spec', api.json.output({ | 
 |  241       'Linux Tests': { | 
 |  242         'isolated_scripts': [ | 
 |  243           { | 
 |  244             'isolate_name': 'telemetry_gpu_unittests', | 
 |  245             'name': 'telemetry_gpu_unittests', | 
 |  246             'swarming': {'can_use_on_swarming_builders': True}, | 
 |  247           }, | 
 |  248         ], | 
 |  249       }, | 
 |  250     })) | 
 |  251   ) | 
 |  252  | 
 |  253   yield ( | 
 |  254     api.test('dynamic_swarmed_passed_isolated_script_test') + | 
 |  255     api.properties.generic(mastername='chromium.linux', | 
 |  256                            buildername='Linux Tests', | 
 |  257                            parent_buildername='Linux Builder') + | 
 |  258     api.properties(swarm_hashes={ | 
 |  259       'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', | 
 |  260     }) + | 
 |  261     api.platform('linux', 64) + | 
 |  262     api.override_step_data('read test spec', api.json.output({ | 
 |  263       'Linux Tests': { | 
 |  264         'isolated_scripts': [ | 
 |  265           { | 
 |  266             'isolate_name': 'telemetry_gpu_unittests', | 
 |  267             'name': 'telemetry_gpu_unittests', | 
 |  268             'swarming': {'can_use_on_swarming_builders': True}, | 
 |  269           }, | 
 |  270         ], | 
 |  271       }, | 
 |  272     })) | 
 |  273   ) | 
 |  274  | 
 |  275   yield ( | 
 |  276     api.test('dynamic_swarmed_failed_isolated_script_test') + | 
 |  277     api.properties.generic(mastername='chromium.linux', | 
 |  278                            buildername='Linux Tests', | 
 |  279                            parent_buildername='Linux Builder') + | 
 |  280     api.properties(swarm_hashes={ | 
 |  281       'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', | 
 |  282     }) + | 
 |  283     api.platform('linux', 64) + | 
 |  284     api.override_step_data('read test spec', api.json.output({ | 
 |  285       'Linux Tests': { | 
 |  286         'isolated_scripts': [ | 
 |  287           { | 
 |  288             'isolate_name': 'telemetry_gpu_unittests', | 
 |  289             'name': 'telemetry_gpu_unittests', | 
 |  290             'swarming': {'can_use_on_swarming_builders': True}, | 
 |  291           }, | 
 |  292         ], | 
 |  293       }, | 
 |  294     })) + | 
 |  295     api.override_step_data('telemetry_gpu_unittests', | 
 |  296         api.test_utils.canned_isolated_script_output( | 
 |  297             passing=True, is_win=False, swarming=True, | 
 |  298             isolated_script_passing=False, valid=True), | 
 |  299         retcode=255) | 
 |  300   ) | 
 |  301  | 
 |  302   yield ( | 
 |  303     api.test('dynamic_swarmed_passed_with_bad_retcode_isolated_script_test') + | 
 |  304     api.properties.generic(mastername='chromium.linux', | 
 |  305                            buildername='Linux Tests', | 
 |  306                            parent_buildername='Linux Builder') + | 
 |  307     api.properties(swarm_hashes={ | 
 |  308       'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', | 
 |  309     }) + | 
 |  310     api.platform('linux', 64) + | 
 |  311     api.override_step_data('read test spec', api.json.output({ | 
 |  312       'Linux Tests': { | 
 |  313         'isolated_scripts': [ | 
 |  314           { | 
 |  315             'isolate_name': 'telemetry_gpu_unittests', | 
 |  316             'name': 'telemetry_gpu_unittests', | 
 |  317             'swarming': {'can_use_on_swarming_builders': True}, | 
 |  318           }, | 
 |  319         ], | 
 |  320       }, | 
 |  321     })) + | 
 |  322     api.override_step_data('telemetry_gpu_unittests', | 
 |  323         api.test_utils.canned_isolated_script_output( | 
 |  324             passing=True, is_win=False, swarming=True, | 
 |  325             isolated_script_passing=True, valid=True), | 
 |  326         retcode=255) | 
 |  327   ) | 
 |  328  | 
 |  329   yield ( | 
 |  330     api.test( | 
 |  331         'dynamic_swarmed_passed_isolated_script_test_with_swarming_failure') + | 
 |  332     api.properties.generic(mastername='chromium.linux', | 
 |  333                            buildername='Linux Tests', | 
 |  334                            parent_buildername='Linux Builder') + | 
 |  335     api.properties(swarm_hashes={ | 
 |  336       'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', | 
 |  337     }) + | 
 |  338     api.platform('linux', 64) + | 
 |  339     api.override_step_data('read test spec', api.json.output({ | 
 |  340       'Linux Tests': { | 
 |  341         'isolated_scripts': [ | 
 |  342           { | 
 |  343             'isolate_name': 'telemetry_gpu_unittests', | 
 |  344             'name': 'telemetry_gpu_unittests', | 
 |  345             'swarming': {'can_use_on_swarming_builders': True}, | 
 |  346           }, | 
 |  347         ], | 
 |  348       }, | 
 |  349     })) + | 
 |  350     api.override_step_data('telemetry_gpu_unittests', | 
 |  351         api.test_utils.canned_isolated_script_output( | 
 |  352             passing=False, is_win=False, swarming=True, | 
 |  353             swarming_internal_failure=True, isolated_script_passing=True, | 
 |  354             valid=True), | 
 |  355         retcode=255) | 
 |  356   ) | 
 |  357  | 
 |  358   yield ( | 
|  237     api.test('goma_with_diagnose_goma_failure') + |  359     api.test('goma_with_diagnose_goma_failure') + | 
|  238     api.properties.generic(mastername='chromium.fyi', |  360     api.properties.generic(mastername='chromium.fyi', | 
|  239                            buildername='CrWinGoma') + |  361                            buildername='CrWinGoma') + | 
|  240     api.step_data('diagnose_goma', retcode=1) |  362     api.step_data('diagnose_goma', retcode=1) | 
|  241   ) |  363   ) | 
|  242  |  364  | 
|  243   yield ( |  365   yield ( | 
|  244     api.test('dynamic_gtest_on_builder') + |  366     api.test('dynamic_gtest_on_builder') + | 
|  245     api.properties.generic(mastername='chromium.linux', |  367     api.properties.generic(mastername='chromium.linux', | 
|  246                            buildername='Linux Builder') + |  368                            buildername='Linux Builder') + | 
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  584     api.test('amp_split_recipe_collect_failure') + |  706     api.test('amp_split_recipe_collect_failure') + | 
|  585     api.properties( |  707     api.properties( | 
|  586         mastername='chromium.fyi', |  708         mastername='chromium.fyi', | 
|  587         buildername='Android Tests (amp split)', |  709         buildername='Android Tests (amp split)', | 
|  588         slavename='build1-a1', |  710         slavename='build1-a1', | 
|  589         buildnumber='77457', |  711         buildnumber='77457', | 
|  590         parent_build_archive_url='gs://test-domain/test-archive.zip' |  712         parent_build_archive_url='gs://test-domain/test-archive.zip' | 
|  591     ) + |  713     ) + | 
|  592     api.override_step_data('[collect] base_unittests', retcode=1) |  714     api.override_step_data('[collect] base_unittests', retcode=1) | 
|  593   ) |  715   ) | 
| OLD | NEW |