| 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 Smoke Test builder. | 5 """Buildbot recipe definition for the various Syzygy Smoke Test builder. |
| 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 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 def RunSteps(api, buildername): | 40 def RunSteps(api, buildername): |
| 41 """Generates the sequence of steps that will be run on the coverage bot.""" | 41 """Generates the sequence of steps that will be run on the coverage bot.""" |
| 42 assert buildername == 'Syzygy Smoke Test' | 42 assert buildername == 'Syzygy Smoke Test' |
| 43 | 43 |
| 44 # Configure the build environment. | 44 # Configure the build environment. |
| 45 s = api.syzygy | 45 s = api.syzygy |
| 46 kwargs = {'BUILD_CONFIG': 'Release'} | 46 kwargs = {'BUILD_CONFIG': 'Release'} |
| 47 s.set_config('syzygy', **kwargs) | 47 s.set_config('syzygy', **kwargs) |
| 48 api.chromium.set_config('syzygy', **kwargs) | 48 api.chromium.set_config('syzygy', **kwargs) |
| 49 api.gclient.set_config('syzygy', **kwargs) | 49 api.gclient.set_config('syzygy', GIT_MODE=True, **kwargs) |
| 50 | 50 |
| 51 # Clean up any running processes on the slave. | 51 # Clean up any running processes on the slave. |
| 52 s.taskkill() | 52 s.taskkill() |
| 53 | 53 |
| 54 # Checkout and compile the project. | 54 # Checkout and compile the project. |
| 55 s.checkout() | 55 s.checkout() |
| 56 s.runhooks() | 56 s.runhooks() |
| 57 | 57 |
| 58 s.download_binaries() | 58 s.download_binaries() |
| 59 s.smoke_test() | 59 s.smoke_test() |
| 60 | 60 |
| 61 | 61 |
| 62 def GenTests(api): | 62 def GenTests(api): |
| 63 """Generates an end-to-end successful test for this builder.""" | 63 """Generates an end-to-end successful test for this builder.""" |
| 64 yield api.syzygy.generate_test(api, 'Syzygy Smoke Test') | 64 yield api.syzygy.generate_test(api, 'Syzygy Smoke Test') |
| OLD | NEW |