| 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 builders on the | 5 # This recipe is intended to control all of the GPU builders on the |
| 6 # following waterfalls: | 6 # following waterfalls: |
| 7 # chromium.gpu | 7 # chromium.gpu |
| 8 # chromium.gpu.fyi | 8 # chromium.gpu.fyi |
| 9 # chromium.webkit | 9 # chromium.webkit |
| 10 | 10 |
| 11 DEPS = [ | 11 DEPS = [ |
| 12 'gpu', | 12 'gpu', |
| 13 'platform', | 13 'platform', |
| 14 'properties', | 14 'properties', |
| 15 ] | 15 ] |
| 16 | 16 |
| 17 def GenSteps(api): | 17 def GenSteps(api): |
| 18 api.gpu.setup() | 18 api.gpu.setup() |
| 19 yield api.gpu.checkout_steps() | 19 yield api.gpu.checkout_steps() |
| 20 yield api.gpu.compile_steps() | 20 yield api.gpu.compile_steps() |
| 21 yield api.gpu.upload_steps() | 21 yield api.gpu.upload_steps() |
| 22 | 22 |
| 23 def GenTests(api): | 23 def GenTests(api): |
| 24 # The majority of the tests are in the build_and_test recipe. | 24 # The majority of the tests are in the build_and_test recipe. |
| 25 | 25 |
| 26 # Keep the additional properties in sync with the download_and_test | 26 # Keep the additional properties in sync with the download_and_test |
| 27 # recipe in order to catch regressions. | 27 # recipe in order to catch regressions. |
| 28 for plat in ['win', 'mac', 'linux']: | 28 for plat in ['win', 'mac', 'linux']: |
| 29 yield ( | 29 for flavor in ['Debug', 'Release']: |
| 30 api.test('%s_release' % plat) + | 30 flavor_lower = flavor.lower() |
| 31 api.properties.scheduled( | 31 yield ( |
| 32 build_config='Release', | 32 api.test('%s_%s' % (plat, flavor_lower)) + |
| 33 mastername='chromium.gpu.testing', | 33 api.properties.scheduled( |
| 34 buildername='%s builder' % plat, | 34 build_config=flavor, |
| 35 buildnumber=571) + | 35 mastername='chromium.gpu.testing', |
| 36 api.platform.name(plat) | 36 buildername='%s %s builder' % (plat, flavor_lower), |
| 37 ) | 37 buildnumber=571) + |
| 38 api.platform.name(plat) |
| 39 ) |
| OLD | NEW |