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

Side by Side Diff: scripts/slave/recipe_modules/chromium/example.py

Issue 1565113003: Add concept of bot config and test spec database (BotConfigAndTestDB). (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 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 DEPS = [ 5 DEPS = [
6 'chromium', 6 'chromium',
7 'chromium_tests', 7 'chromium_tests',
8 'recipe_engine/properties', 8 'recipe_engine/properties',
9 ] 9 ]
10 10
11 def RunSteps(api): 11 def RunSteps(api):
12 mastername = api.properties.get('mastername') 12 mastername = api.properties.get('mastername')
13 buildername = api.properties.get('buildername') 13 buildername = api.properties.get('buildername')
14 14
15 api.chromium_tests.configure_build(mastername, buildername) 15 api.chromium_tests.configure_build(mastername, buildername)
16 update_step, master_dict, test_spec = \ 16 update_step, bot_db = \
17 api.chromium_tests.prepare_checkout(mastername, buildername) 17 api.chromium_tests.prepare_checkout(mastername, buildername)
18 #api.chromium_tests.compile(mastername, buildername, update_step, master_dict, 18 #api.chromium_tests.compile(mastername, buildername, update_step, bot_db,
19 # test_spec, out_dir='/tmp') 19 # out_dir='/tmp')
20 api.chromium.compile(targets=['All'], out_dir='/tmp') 20 api.chromium.compile(targets=['All'], out_dir='/tmp')
21 21
22 def GenTests(api): 22 def GenTests(api):
23 yield api.test('basic_out_dir') + api.properties( 23 yield api.test('basic_out_dir') + api.properties(
24 mastername='chromium.linux', 24 mastername='chromium.linux',
25 buildername='Android Builder (dbg)', 25 buildername='Android Builder (dbg)',
26 slavename='build1-a1', 26 slavename='build1-a1',
27 buildnumber='77457', 27 buildnumber='77457',
28 ) 28 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698