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 """Buildbot recipe definition for the various Syzygy continuous builders. | 5 """Buildbot recipe definition for the various Syzygy continuous builders. |
6 | 6 |
7 To be tested using a command-line like: | 7 To be tested using a command-line like: |
8 | 8 |
9 /build/scripts/tools/run_recipe.py syzygy/continuous | 9 /build/scripts/tools/run_recipe.py syzygy/continuous |
10 revision=0e9f25b1098271be2b096fd1c095d6d907cf86f7 | 10 revision=0e9f25b1098271be2b096fd1c095d6d907cf86f7 |
11 mastername=master.client.syzygy | 11 mastername=master.client.syzygy |
12 "buildername=Syzygy Debug" | 12 "buildername=Syzygy Debug" |
13 slavename=fake_slave | 13 slavename=fake_slave |
14 buildnumber=1 | 14 buildnumber=1 |
15 | 15 |
16 Places resulting output in build/slave/fake_slave. | 16 Places resulting output in build/slave/fake_slave. |
17 """ | 17 """ |
18 | 18 |
19 from recipe_engine.types import freeze | 19 from infra.libs.infra_types import freeze |
20 | 20 |
21 # Recipe module dependencies. | 21 # Recipe module dependencies. |
22 DEPS = [ | 22 DEPS = [ |
23 'chromium', | 23 'chromium', |
24 'gclient', | 24 'gclient', |
25 'platform', | 25 'platform', |
26 'properties', | 26 'properties', |
27 'syzygy', | 27 'syzygy', |
28 'trigger', | 28 'trigger', |
29 ] | 29 ] |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 props = {'blamelist': blamelist, | 89 props = {'blamelist': blamelist, |
90 'buildername': 'Syzygy Smoke Test', | 90 'buildername': 'Syzygy Smoke Test', |
91 'revision': revision} | 91 'revision': revision} |
92 api.trigger(props) | 92 api.trigger(props) |
93 | 93 |
94 | 94 |
95 def GenTests(api): | 95 def GenTests(api): |
96 """Generates an end-to-end successful test for each builder.""" | 96 """Generates an end-to-end successful test for each builder.""" |
97 for buildername in BUILDERS.iterkeys(): | 97 for buildername in BUILDERS.iterkeys(): |
98 yield api.syzygy.generate_test(api, buildername) | 98 yield api.syzygy.generate_test(api, buildername) |
OLD | NEW |