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

Side by Side Diff: scripts/slave/recipes/infra/recipe_simulation.py

Issue 1575833003: Add recipe for testing recipe simulation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: argh Created 4 years, 11 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 | Annotate | Revision Log
OLDNEW
(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 )
OLDNEW
« no previous file with comments | « masters/master.chromium.tools.build/builders.pyl ('k') | scripts/slave/recipes/infra/recipe_simulation.expected/normal.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698