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

Side by Side Diff: scripts/slave/recipe_modules/pgo/example.py

Issue 2421363002: Use the Chromium-side script to run the PGO benchmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Use the Chromium-side script to run the PGO benchmarks. Created 4 years, 2 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
OLDNEW
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
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 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698