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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.py

Issue 1177593002: Add swarming support for MB (and the GN bots) in the chromium recipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge patchset #3 to r295696 (no other changes) Created 5 years, 6 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 # 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
414 tests.append(api.chromium_tests.steps.BlinkTest()) 414 tests.append(api.chromium_tests.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, matching_exes, compile_targets = \ 427 requires_compile, matching_exes, 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
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 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698