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

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

Issue 1588793002: Support variable substitution and tryserver- and waterfall-only cmd line args. (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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 api.test('dynamic_gtest') + 171 api.test('dynamic_gtest') +
172 api.properties.generic(mastername='chromium.linux', 172 api.properties.generic(mastername='chromium.linux',
173 buildername='Linux Tests', 173 buildername='Linux Tests',
174 parent_buildername='Linux Builder') + 174 parent_buildername='Linux Builder') +
175 api.platform('linux', 64) + 175 api.platform('linux', 64) +
176 api.override_step_data('read test spec', api.json.output({ 176 api.override_step_data('read test spec', api.json.output({
177 'Linux Tests': { 177 'Linux Tests': {
178 'gtest_tests': [ 178 'gtest_tests': [
179 'base_unittests', 179 'base_unittests',
180 {'test': 'browser_tests', 'shard_index': 0, 'total_shards': 2}, 180 {'test': 'browser_tests', 'shard_index': 0, 'total_shards': 2},
181 {
182 'test': 'content_unittests',
183 'args': ['--correct-common-arg'],
184 'precommit_args': ['--THIS-ARG-SHOULD-NOT-BE-PRESENT'],
185 'non_precommit_args': [
186 '--these-args-should-be-present',
187 '--mastername=\"${master_name}\"',
188 '--buildername=\"${builder_name}\"',
189 '--buildrevision=\"${build_revision}\"',
190 ],
191 },
181 ], 192 ],
182 }, 193 },
183 })) 194 }))
184 ) 195 )
185 196
186 yield ( 197 yield (
187 api.test('dynamic_swarmed_gtest') + 198 api.test('dynamic_swarmed_gtest') +
188 api.properties.generic(mastername='chromium.linux', 199 api.properties.generic(mastername='chromium.linux',
189 buildername='Linux Builder') + 200 buildername='Linux Builder') +
190 api.platform('linux', 64) + 201 api.platform('linux', 64) +
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') + 941 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') +
931 api.properties( 942 api.properties(
932 mastername='chromium.linux', 943 mastername='chromium.linux',
933 buildername='Android Tests', 944 buildername='Android Tests',
934 slavename='build1-a1', 945 slavename='build1-a1',
935 buildnumber='77457', 946 buildnumber='77457',
936 parent_buildername='Android Builder', 947 parent_buildername='Android Builder',
937 ) + 948 ) +
938 api.override_step_data('gsutil upload', retcode=-2001) 949 api.override_step_data('gsutil upload', retcode=-2001)
939 ) 950 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698