OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 """A continious builder for build repo which simulates recipes.""" |
| 5 |
| 6 DEPS = [ |
| 7 'bot_update', |
| 8 'gclient', |
| 9 'recipe_engine/path', |
| 10 'recipe_engine/properties', |
| 11 'recipe_engine/step', |
| 12 ] |
| 13 |
| 14 |
| 15 def RunSteps(api): |
| 16 api.gclient.set_config('build') |
| 17 api.bot_update.ensure_checkout(force=True) |
| 18 recipes_py = api.path['checkout'].join('scripts', 'slave', 'recipes.py') |
| 19 api.step('recipe fetch deps', [recipes_py, 'fetch']) |
| 20 api.step('recipe simulation test', [recipes_py, 'simulation_test']) |
| 21 |
| 22 |
| 23 def GenTests(api): |
| 24 yield ( |
| 25 api.test('normal') + |
| 26 api.properties.generic( |
| 27 mastername='chromium.tools.build', |
| 28 buildername='recipe simulation tester', |
| 29 revision='deadbeaf', |
| 30 ) |
| 31 ) |
OLD | NEW |