| OLD | NEW |
| 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 """ | 5 """ |
| 6 Recipe for building and running tests for Libyuv stand-alone. | 6 Recipe for building and running tests for Libyuv stand-alone. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 from recipe_engine.types import freeze | 9 from recipe_engine.types import freeze |
| 10 | 10 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 slavename='slavename', | 59 slavename='slavename', |
| 60 BUILD_CONFIG=chromium_kwargs['BUILD_CONFIG']) + | 60 BUILD_CONFIG=chromium_kwargs['BUILD_CONFIG']) + |
| 61 api.platform(bot_config['testing']['platform'], | 61 api.platform(bot_config['testing']['platform'], |
| 62 chromium_kwargs.get('TARGET_BITS', 64)) | 62 chromium_kwargs.get('TARGET_BITS', 64)) |
| 63 ) | 63 ) |
| 64 | 64 |
| 65 if revision: | 65 if revision: |
| 66 test += api.properties(revision=revision) | 66 test += api.properties(revision=revision) |
| 67 | 67 |
| 68 if mastername.startswith('tryserver'): | 68 if mastername.startswith('tryserver'): |
| 69 test += api.properties(patch_url='try_job_svn_patch') | 69 test += api.properties(issue='123456789', patchset='1', |
| 70 rietveld='https://rietveld.example.com') |
| 70 return test | 71 return test |
| 71 | 72 |
| 72 for mastername, master_config in builders.iteritems(): | 73 for mastername, master_config in builders.iteritems(): |
| 73 for buildername in master_config['builders'].keys(): | 74 for buildername in master_config['builders'].keys(): |
| 74 yield generate_builder(mastername, buildername, revision='12345') | 75 yield generate_builder(mastername, buildername, revision='12345') |
| 75 | 76 |
| 76 # Forced builds (not specifying any revision) and test failures. | 77 # Forced builds (not specifying any revision) and test failures. |
| 77 mastername = 'client.libyuv' | 78 mastername = 'client.libyuv' |
| 78 yield generate_builder(mastername, 'Linux64 Debug', revision=None, | 79 yield generate_builder(mastername, 'Linux64 Debug', revision=None, |
| 79 suffix='_forced') | 80 suffix='_forced') |
| 80 yield generate_builder(mastername, 'Android Debug', revision=None, | 81 yield generate_builder(mastername, 'Android Debug', revision=None, |
| 81 suffix='_forced') | 82 suffix='_forced') |
| 82 | 83 |
| 83 yield generate_builder('tryserver.libyuv', 'linux', revision=None, | 84 yield generate_builder('tryserver.libyuv', 'linux', revision=None, |
| 84 suffix='_forced') | 85 suffix='_forced') |
| OLD | NEW |