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

Side by Side Diff: scripts/slave/recipes/chromium.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 DEPS = [ 5 DEPS = [
6 'adb', 6 'adb',
7 'bisect_tester', 7 'bisect_tester',
8 'chromium', 8 'chromium',
9 'chromium_android', 9 'chromium_android',
10 'chromium_tests', 10 'chromium_tests',
(...skipping 14 matching lines...) Expand all
25 mastername = api.properties.get('mastername') 25 mastername = api.properties.get('mastername')
26 buildername = api.properties.get('buildername') 26 buildername = api.properties.get('buildername')
27 27
28 if mastername == 'tryserver.chromium.perf' and api.chromium_tests.builders[ 28 if mastername == 'tryserver.chromium.perf' and api.chromium_tests.builders[
29 mastername]['builders'][buildername]['bot_type'] == 'tester': 29 mastername]['builders'][buildername]['bot_type'] == 'tester':
30 api.bisect_tester.upload_job_url() 30 api.bisect_tester.upload_job_url()
31 31
32 api.chromium_tests.configure_build(mastername, buildername) 32 api.chromium_tests.configure_build(mastername, buildername)
33 update_step, master_dict, test_spec = \ 33 update_step, master_dict, test_spec = \
34 api.chromium_tests.prepare_checkout(mastername, buildername) 34 api.chromium_tests.prepare_checkout(mastername, buildername)
35
36 tests = api.chromium_tests.tests_for_builder(
37 mastername, buildername, update_step, master_dict)
38
39 api.chromium.run_mb_if_necessary(mastername, buildername, tests)
40
35 api.chromium_tests.compile(mastername, buildername, update_step, master_dict, 41 api.chromium_tests.compile(mastername, buildername, update_step, master_dict,
36 test_spec) 42 test_spec)
37 tests = api.chromium_tests.tests_for_builder(
38 mastername, buildername, update_step, master_dict)
39 43
40 if not tests: 44 if not tests:
41 return 45 return
42 46
43 api.chromium_tests.configure_swarming('chromium', precommit=False, 47 api.chromium_tests.configure_swarming('chromium', precommit=False,
44 mastername=mastername) 48 mastername=mastername)
45 test_runner = api.chromium_tests.create_test_runner(api, tests) 49 test_runner = api.chromium_tests.create_test_runner(api, tests)
46 with api.chromium_tests.wrap_chromium_tests(mastername): 50 with api.chromium_tests.wrap_chromium_tests(mastername):
47 test_runner() 51 test_runner()
48 52
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 api.properties.generic( 453 api.properties.generic(
450 mastername='chromium.webkit', 454 mastername='chromium.webkit',
451 buildername='WebKit XP', 455 buildername='WebKit XP',
452 project='chromium', 456 project='chromium',
453 parent_buildername='WebKit Win Builder', 457 parent_buildername='WebKit Win Builder',
454 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73', 458 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73',
455 parent_got_webkit_revision='191269', 459 parent_got_webkit_revision='191269',
456 revision='1e74b372f951d4491f305ec64f6decfcda739e73') + 460 revision='1e74b372f951d4491f305ec64f6decfcda739e73') +
457 api.platform('win', 32) 461 api.platform('win', 32)
458 ) 462 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698