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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.py

Issue 2226283002: webrtc: prepare for running under remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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 # Recipe for building and running tests for WebRTC stand-alone. 5 # Recipe for building and running tests for WebRTC stand-alone.
6 6
7 DEPS = [ 7 DEPS = [
8 'archive', 8 'archive',
9 'depot_tools/bot_update', 9 'depot_tools/bot_update',
10 'chromium', 10 'chromium',
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 'Unexpected parent_buildername for builder %r on master %r.' % 70 'Unexpected parent_buildername for builder %r on master %r.' %
71 (buildername, mastername)) 71 (buildername, mastername))
72 72
73 chromium_kwargs = bot_config.get('chromium_config_kwargs', {}) 73 chromium_kwargs = bot_config.get('chromium_config_kwargs', {})
74 test = ( 74 test = (
75 api.test('%s_%s%s' % (_sanitize_nonalpha(mastername), 75 api.test('%s_%s%s' % (_sanitize_nonalpha(mastername),
76 _sanitize_nonalpha(buildername), suffix)) + 76 _sanitize_nonalpha(buildername), suffix)) +
77 api.properties(mastername=mastername, 77 api.properties(mastername=mastername,
78 buildername=buildername, 78 buildername=buildername,
79 slavename='slavename', 79 slavename='slavename',
80 path_config='kitchen',
80 BUILD_CONFIG=chromium_kwargs['BUILD_CONFIG']) + 81 BUILD_CONFIG=chromium_kwargs['BUILD_CONFIG']) +
81 api.platform(bot_config['testing']['platform'], 82 api.platform(bot_config['testing']['platform'],
82 chromium_kwargs.get('TARGET_BITS', 64)) 83 chromium_kwargs.get('TARGET_BITS', 64))
83 ) 84 )
84 85
85 if bot_config.get('parent_buildername'): 86 if bot_config.get('parent_buildername'):
86 test += api.properties( 87 test += api.properties(
87 parent_buildername=bot_config['parent_buildername']) 88 parent_buildername=bot_config['parent_buildername'])
88 89
89 if revision: 90 if revision:
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 failing_test='tools_unittests', suffix='_failing_test') 128 failing_test='tools_unittests', suffix='_failing_test')
128 129
129 # GN trybot running tests (during the GN migration work). 130 # GN trybot running tests (during the GN migration work).
130 mastername = 'tryserver.webrtc' 131 mastername = 'tryserver.webrtc'
131 yield ( 132 yield (
132 generate_builder(mastername, 'linux_gn_dbg', revision='12345', 133 generate_builder(mastername, 'linux_gn_dbg', revision='12345',
133 suffix='_running_tests') + 134 suffix='_running_tests') +
134 api.properties(run_tests=1) 135 api.properties(run_tests=1)
135 ) 136 )
136 137
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698