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

Side by Side Diff: scripts/slave/recipe_modules/chromium_tests/api.py

Issue 1814713002: ensure_goma for goma canary (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 9 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import collections 5 import collections
6 import contextlib 6 import contextlib
7 import copy 7 import copy
8 import itertools 8 import itertools
9 import json 9 import json
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 for c in bot_config.get('gclient_apply_config', []): 125 for c in bot_config.get('gclient_apply_config', []):
126 self.m.gclient.apply_config(c) 126 self.m.gclient.apply_config(c)
127 127
128 # WARNING: src-side runtest.py is only tested with chromium CQ builders. 128 # WARNING: src-side runtest.py is only tested with chromium CQ builders.
129 # Usage not covered by chromium CQ is not supported and can break 129 # Usage not covered by chromium CQ is not supported and can break
130 # without notice. 130 # without notice.
131 if bot_config.get_master_setting('src_side_runtest_py'): 131 if bot_config.get_master_setting('src_side_runtest_py'):
132 self.m.chromium.c.runtest_py.src_side = True 132 self.m.chromium.c.runtest_py.src_side = True
133 133
134 # TODO(ukai): switch to ensure_goma in chromium/api.py
134 if bot_config.get('goma_canary'): 135 if bot_config.get('goma_canary'):
135 self.m.goma.update_goma_canary() 136 self.m.goma.update_goma_canary()
136 137
137 bot_type = override_bot_type or bot_config.get('bot_type', 'builder_tester') 138 bot_type = override_bot_type or bot_config.get('bot_type', 'builder_tester')
138 139
139 if bot_config.get('set_component_rev'): 140 if bot_config.get('set_component_rev'):
140 # If this is a component build and the main revision is e.g. blink, 141 # If this is a component build and the main revision is e.g. blink,
141 # webrtc, or v8, the custom deps revision of this component must be 142 # webrtc, or v8, the custom deps revision of this component must be
142 # dynamically set to either: 143 # dynamically set to either:
143 # (1) the revision of the builder if this is a tester, 144 # (1) the revision of the builder if this is a tester,
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 def get_compile_targets_for_scripts(self): 836 def get_compile_targets_for_scripts(self):
836 return self.m.python( 837 return self.m.python(
837 name='get compile targets for scripts', 838 name='get compile targets for scripts',
838 script=self.m.path['checkout'].join( 839 script=self.m.path['checkout'].join(
839 'testing', 'scripts', 'get_compile_targets.py'), 840 'testing', 'scripts', 'get_compile_targets.py'),
840 args=[ 841 args=[
841 '--output', self.m.json.output(), 842 '--output', self.m.json.output(),
842 '--', 843 '--',
843 ] + self.get_common_args_for_scripts(), 844 ] + self.get_common_args_for_scripts(),
844 step_test_data=lambda: self.m.json.test_api.output({})) 845 step_test_data=lambda: self.m.json.test_api.output({}))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698