| 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 from infra.libs.infra_types import freeze | 5 from infra.libs.infra_types import freeze |
| 6 | 6 |
| 7 DEPS = [ | 7 DEPS = [ |
| 8 'bot_update', | 8 'bot_update', |
| 9 'chromium', | 9 'chromium', |
| 10 'chromium_android', | 10 'chromium_android', |
| (...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 tests.append(api.chromium.steps.BlinkTest()) | 414 tests.append(api.chromium.steps.BlinkTest()) |
| 415 | 415 |
| 416 compile_targets, tests_including_triggered = \ | 416 compile_targets, tests_including_triggered = \ |
| 417 api.chromium_tests.get_compile_targets_and_tests( | 417 api.chromium_tests.get_compile_targets_and_tests( |
| 418 bot_config['mastername'], | 418 bot_config['mastername'], |
| 419 bot_config['buildername'], | 419 bot_config['buildername'], |
| 420 master_dict, | 420 master_dict, |
| 421 override_bot_type='builder_tester', | 421 override_bot_type='builder_tester', |
| 422 override_tests=tests) | 422 override_tests=tests) |
| 423 | 423 |
| 424 api.m.chromium.run_mb_if_necessary(mastername, buildername, |
| 425 tests_including_triggered) |
| 426 |
| 424 requires_compile, _, compile_targets = \ | 427 requires_compile, _, compile_targets = \ |
| 425 api.chromium_tests.analyze( | 428 api.chromium_tests.analyze( |
| 426 affected_files, | 429 affected_files, |
| 427 all_compile_targets(api, tests + tests_including_triggered), | 430 all_compile_targets(api, tests + tests_including_triggered), |
| 428 compile_targets, | 431 compile_targets, |
| 429 'trybot_analyze_config.json') | 432 'trybot_analyze_config.json') |
| 430 | 433 |
| 431 if not requires_compile: | 434 if not requires_compile: |
| 432 return | 435 return |
| 433 | 436 |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 | 992 |
| 990 yield ( | 993 yield ( |
| 991 api.test('swarming_paths') + | 994 api.test('swarming_paths') + |
| 992 api.properties.tryserver( | 995 api.properties.tryserver( |
| 993 mastername='tryserver.chromium.linux', | 996 mastername='tryserver.chromium.linux', |
| 994 buildername='linux_chromium_rel_ng', | 997 buildername='linux_chromium_rel_ng', |
| 995 path_config='swarming', | 998 path_config='swarming', |
| 996 ) + | 999 ) + |
| 997 api.platform.name('linux') | 1000 api.platform.name('linux') |
| 998 ) | 1001 ) |
| OLD | NEW |