| OLD | NEW |
| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 test_type='tab_capture_performance_tests') | 118 test_type='tab_capture_performance_tests') |
| 118 | 119 |
| 119 # TODO(kbr): after the conversion to recipes, add all GPU related | 120 # TODO(kbr): after the conversion to recipes, add all GPU related |
| 120 # steps from the main waterfall, like gpu_unittests. | 121 # steps from the main waterfall, like gpu_unittests. |
| 121 | 122 |
| 122 def GenTests(api): | 123 def GenTests(api): |
| 123 for build_config in ['Release', 'Debug']: | 124 for build_config in ['Release', 'Debug']: |
| 124 for plat in ['win', 'mac', 'linux']: | 125 for plat in ['win', 'mac', 'linux']: |
| 125 # Normal builder configuration | 126 # Normal builder configuration |
| 126 base_name = '%s_%s' % (plat, build_config.lower()) | 127 base_name = '%s_%s' % (plat, build_config.lower()) |
| 127 yield base_name, { | 128 yield ( |
| 128 'properties': api.properties_scheduled( | 129 api.test(base_name) + |
| 129 build_config=build_config), | 130 api.properties.scheduled(build_config=build_config) + |
| 130 'mock': { | 131 api.platform.name(plat) |
| 131 'platform': { | 132 ) |
| 132 'name': plat | |
| 133 } | |
| 134 } | |
| 135 } | |
| 136 | 133 |
| 137 # Try server configuration | 134 # Try server configuration |
| 138 yield '%s_tryserver' % base_name, { | 135 yield ( |
| 139 'properties': api.properties_tryserver( | 136 api.test('%s_tryserver' % base_name) + |
| 140 build_config=build_config), | 137 api.properties.tryserver(build_config=build_config) + |
| 141 'mock': { | 138 api.platform.name(plat) |
| 142 'platform': { | 139 ) |
| 143 'name': plat | |
| 144 } | |
| 145 } | |
| 146 } | |
| OLD | NEW |