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

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: Addressed review feedback. 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 api.properties.generic(mastername='chromium.linux', 175 api.properties.generic(mastername='chromium.linux',
176 buildername='Linux Tests', 176 buildername='Linux Tests',
177 parent_buildername='Linux Builder') + 177 parent_buildername='Linux Builder') +
178 api.platform('linux', 64) + 178 api.platform('linux', 64) +
179 api.override_step_data('read test spec', api.json.output({ 179 api.override_step_data('read test spec', api.json.output({
180 'Linux Tests': { 180 'Linux Tests': {
181 'gtest_tests': [ 181 'gtest_tests': [
182 'base_unittests', 182 'base_unittests',
183 {'test': 'browser_tests', 'shard_index': 0, 'total_shards': 2}, 183 {'test': 'browser_tests', 'shard_index': 0, 'total_shards': 2},
184 {'test': 'content_unittests', 'name': 'renamed_content_unittests'}, 184 {'test': 'content_unittests', 'name': 'renamed_content_unittests'},
185 {
186 'test': 'gl_unittests',
187 'args': ['--correct-common-arg'],
188 'precommit_args': ['--SHOULD-NOT-BE-PRESENT-DURING-THE-RUN'],
189 'non_precommit_args': [
190 '--these-args-should-be-present',
191 '--test-machine-name=\"${buildername}\"',
192 '--build-revision=\"${got_revision}\"',
193 ],
194 },
185 ], 195 ],
186 }, 196 },
187 })) 197 }))
188 ) 198 )
189 199
190 yield ( 200 yield (
191 api.test('dynamic_swarmed_gtest') + 201 api.test('dynamic_swarmed_gtest') +
192 api.properties.generic(mastername='chromium.linux', 202 api.properties.generic(mastername='chromium.linux',
193 buildername='Linux Builder') + 203 buildername='Linux Builder') +
194 api.platform('linux', 64) + 204 api.platform('linux', 64) +
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
934 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') + 944 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') +
935 api.properties( 945 api.properties(
936 mastername='chromium.linux', 946 mastername='chromium.linux',
937 buildername='Android Tests', 947 buildername='Android Tests',
938 slavename='build1-a1', 948 slavename='build1-a1',
939 buildnumber='77457', 949 buildnumber='77457',
940 parent_buildername='Android Builder', 950 parent_buildername='Android Builder',
941 ) + 951 ) +
942 api.override_step_data('gsutil upload', retcode=-2001) 952 api.override_step_data('gsutil upload', retcode=-2001)
943 ) 953 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698