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

Side by Side Diff: infra/bots/recipes/swarm_compile.py

Issue 2198973002: [Recipes] Move test and perf steps into test and perf recipes (Closed) Base URL: https://skia.googlesource.com/skia.git@fix_buildbot_spec
Patch Set: ready for review Created 4 years, 4 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
« no previous file with comments | « infra/bots/recipe_modules/flavor/api.py ('k') | infra/bots/recipes/swarm_perf.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 module for Skia Swarming compile. 6 # Recipe module for Skia Swarming compile.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'core', 10 'core',
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 program='''import psutil 63 program='''import psutil
64 for p in psutil.process_iter(): 64 for p in psutil.process_iter():
65 try: 65 try:
66 if p.name in ('mspdbsrv.exe', 'vctip.exe', 'cl.exe', 'link.exe'): 66 if p.name in ('mspdbsrv.exe', 'vctip.exe', 'cl.exe', 'link.exe'):
67 p.kill() 67 p.kill()
68 except psutil._error.AccessDenied: 68 except psutil._error.AccessDenied:
69 pass 69 pass
70 ''', 70 ''',
71 infra_step=True) 71 infra_step=True)
72 72
73 api.core.cleanup_steps() 73 api.flavor.cleanup_steps()
74 api.run.check_failure() 74 api.run.check_failure()
75 75
76 76
77 def GenTests(api): 77 def GenTests(api):
78 for mastername, slaves in TEST_BUILDERS.iteritems(): 78 for mastername, slaves in TEST_BUILDERS.iteritems():
79 for slavename, builders_by_slave in slaves.iteritems(): 79 for slavename, builders_by_slave in slaves.iteritems():
80 for builder in builders_by_slave: 80 for builder in builders_by_slave:
81 test = ( 81 test = (
82 api.test(builder) + 82 api.test(builder) +
83 api.properties(buildername=builder, 83 api.properties(buildername=builder,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 path_config='kitchen', 157 path_config='kitchen',
158 swarm_out_dir='[SWARM_OUT_DIR]', 158 swarm_out_dir='[SWARM_OUT_DIR]',
159 rietveld='https://codereview.chromium.org', 159 rietveld='https://codereview.chromium.org',
160 patchset=1, 160 patchset=1,
161 issue=2147533002L) + 161 issue=2147533002L) +
162 api.path.exists( 162 api.path.exists(
163 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 163 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
164 ) + 164 ) +
165 api.platform('win', 64) 165 api.platform('win', 64)
166 ) 166 )
OLDNEW
« no previous file with comments | « infra/bots/recipe_modules/flavor/api.py ('k') | infra/bots/recipes/swarm_perf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698