| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 """Example of using the PGO recipe module.""" | 5 """Example of using the PGO recipe module.""" |
| 6 | 6 |
| 7 # Recipe module dependencies. | 7 # Recipe module dependencies. |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'chromium', | 9 'chromium', |
| 10 'pgo', | 10 'pgo', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 # builder's name to set the platform, but we want to set 'win'. | 49 # builder's name to set the platform, but we want to set 'win'. |
| 50 for mastername in TEST_BUILDERS: | 50 for mastername in TEST_BUILDERS: |
| 51 for buildername in TEST_BUILDERS[mastername]['builders']: | 51 for buildername in TEST_BUILDERS[mastername]['builders']: |
| 52 yield ( | 52 yield ( |
| 53 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername), | 53 api.test('full_%s_%s' % (_sanitize_nonalpha(mastername), |
| 54 _sanitize_nonalpha(buildername))) + | 54 _sanitize_nonalpha(buildername))) + |
| 55 api.properties.generic(mastername=mastername, buildername=buildername) + | 55 api.properties.generic(mastername=mastername, buildername=buildername) + |
| 56 api.platform('win', 64) | 56 api.platform('win', 64) |
| 57 ) | 57 ) |
| 58 | 58 |
| 59 yield ( | |
| 60 api.test('full_%s_%s_benchmark_failure' % | |
| 61 (_sanitize_nonalpha('chromium_pgo.test'), | |
| 62 _sanitize_nonalpha('Test builder'))) + | |
| 63 api.properties.generic(mastername='chromium_pgo.test', | |
| 64 buildername='Test builder') + | |
| 65 api.platform('win', 32) + | |
| 66 api.step_data('Telemetry benchmark: sunspider', retcode=1) | |
| 67 ) | |
| OLD | NEW |