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

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

Issue 23889036: Refactor the way that TestApi works so that it is actually useful. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: once more... Created 7 years, 3 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 | Annotate | Revision Log
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 # This recipe is intended to control all of the GPU related bots: 5 # This recipe is intended to control all of the GPU related bots:
6 # chromium.gpu 6 # chromium.gpu
7 # chromium.gpu.fyi 7 # chromium.gpu.fyi
8 # The GPU bots on the chromium.webkit waterfall 8 # The GPU bots on the chromium.webkit waterfall
9 # The GPU bots on the tryserver.chromium waterfall 9 # The GPU bots on the tryserver.chromium waterfall
10 10
11 DEPS = [ 11 DEPS = [
12 'chromium', 12 'chromium',
13 'gclient', 13 'gclient',
14 'path', 14 'path',
15 'platform',
15 'properties', 16 'properties',
16 'rietveld', 17 'rietveld',
17 ] 18 ]
18 19
19 SIMPLE_TESTS_TO_RUN = [ 20 SIMPLE_TESTS_TO_RUN = [
20 'content_gl_tests', 21 'content_gl_tests',
21 'gles2_conform_test', 22 'gles2_conform_test',
22 'gl_tests' 23 'gl_tests'
23 ] 24 ]
24 25
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 results_url=dashboard_upload_url) 104 results_url=dashboard_upload_url)
104 105
105 # TODO(kbr): after the conversion to recipes, add all GPU related 106 # TODO(kbr): after the conversion to recipes, add all GPU related
106 # steps from the main waterfall, like gpu_unittests. 107 # steps from the main waterfall, like gpu_unittests.
107 108
108 def GenTests(api): 109 def GenTests(api):
109 for build_config in ['Release', 'Debug']: 110 for build_config in ['Release', 'Debug']:
110 for plat in ['win', 'mac', 'linux']: 111 for plat in ['win', 'mac', 'linux']:
111 # Normal builder configuration 112 # Normal builder configuration
112 base_name = '%s_%s' % (plat, build_config.lower()) 113 base_name = '%s_%s' % (plat, build_config.lower())
113 yield base_name, { 114 yield (
114 'properties': api.properties_scheduled( 115 api.test(base_name) +
115 build_config=build_config), 116 api.properties.scheduled(build_config=build_config) +
116 'mock': { 117 api.platform.name(plat)
117 'platform': { 118 )
118 'name': plat
119 }
120 }
121 }
122 119
123 # Try server configuration 120 # Try server configuration
124 yield '%s_tryserver' % base_name, { 121 yield (
125 'properties': api.properties_tryserver( 122 api.test('%s_tryserver' % base_name) +
126 build_config=build_config), 123 api.properties.tryserver(build_config=build_config) +
127 'mock': { 124 api.platform.name(plat)
128 'platform': { 125 )
129 'name': plat
130 }
131 }
132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698