OLD | NEW |
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 Loading... |
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 Loading... |
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 ) |
OLD | NEW |