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

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

Issue 1554383003: Add support for "additional_mirrors" property in trybot configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 11 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
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 'amp', 7 'amp',
8 'bisect_tester', 8 'bisect_tester',
9 'bot_update', 9 'bot_update',
10 'chromium', 10 'chromium',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 return 44 return
45 45
46 mastername = api.properties.get('mastername') 46 mastername = api.properties.get('mastername')
47 buildername = api.properties.get('buildername') 47 buildername = api.properties.get('buildername')
48 48
49 if mastername == 'tryserver.chromium.perf' and api.chromium_tests.builders[ 49 if mastername == 'tryserver.chromium.perf' and api.chromium_tests.builders[
50 mastername]['builders'][buildername]['bot_type'] == 'tester': 50 mastername]['builders'][buildername]['bot_type'] == 'tester':
51 api.bisect_tester.upload_job_url() 51 api.bisect_tester.upload_job_url()
52 52
53 api.chromium_tests.configure_build(mastername, buildername) 53 api.chromium_tests.configure_build(mastername, buildername)
54 update_step, master_dict, test_spec = \ 54 update_step, master_dicts, test_specs = \
55 api.chromium_tests.prepare_checkout(mastername, buildername) 55 api.chromium_tests.prepare_checkout(mastername, buildername)
56 api.chromium_tests.compile(mastername, buildername, update_step, master_dict, 56 api.chromium_tests.compile(mastername, buildername, update_step, master_dicts,
57 test_spec) 57 None, test_specs)
58 api.chromium_tests.download_and_unzip_build(mastername, buildername, 58 api.chromium_tests.download_and_unzip_build(mastername, buildername,
59 update_step, master_dict) 59 update_step, master_dicts)
60 tests = api.chromium_tests.tests_for_builder( 60 tests = api.chromium_tests.tests_for_builder(
61 mastername, buildername, update_step, master_dict) 61 mastername, buildername, update_step, master_dicts[0])
Sergey Berezin 2016/01/06 01:50:56 Is it guaranteed that master_dicts is always of si
62 62
63 if not tests: 63 if not tests:
64 return 64 return
65 65
66 api.chromium_tests.configure_swarming('chromium', precommit=False, 66 api.chromium_tests.configure_swarming('chromium', precommit=False,
67 mastername=mastername) 67 mastername=mastername)
68 test_runner = api.chromium_tests.create_test_runner(api, tests) 68 test_runner = api.chromium_tests.create_test_runner(api, tests)
69 with api.chromium_tests.wrap_chromium_tests(mastername, tests): 69 with api.chromium_tests.wrap_chromium_tests(mastername, tests):
70 test_runner() 70 test_runner()
71 71
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') + 928 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') +
929 api.properties( 929 api.properties(
930 mastername='chromium.linux', 930 mastername='chromium.linux',
931 buildername='Android Tests', 931 buildername='Android Tests',
932 slavename='build1-a1', 932 slavename='build1-a1',
933 buildnumber='77457', 933 buildnumber='77457',
934 parent_buildername='Android Builder', 934 parent_buildername='Android Builder',
935 ) + 935 ) +
936 api.override_step_data('gsutil upload', retcode=-2001) 936 api.override_step_data('gsutil upload', retcode=-2001)
937 ) 937 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698