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

Side by Side Diff: recipe_modules/infra_paths/example.py

Issue 1926033002: depot_tools: add infra_paths recipe module for infra-specific paths (attempt #2) (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: fixes Created 4 years, 7 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
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
5 DEPS = [
6 'infra_paths',
7 'recipe_engine/path',
8 'recipe_engine/platform',
9 'recipe_engine/properties',
10 'recipe_engine/step',
11 ]
12
13
14 def RunSteps(api):
15 api.step('show cache path', [])
16 api.step.active_result.presentation.step_text = str(api.path['cache'])
17
18
19 def GenTests(api):
20 yield api.test('basic')
21
22 for platform in ('linux', 'mac', 'win'):
23 for path_config in ('buildbot', 'kitchen'):
24 yield (
25 api.test('paths_%s_%s' % (path_config, platform)) +
26 api.platform.name(platform) +
27 api.properties(path_config=path_config)
28 )
OLDNEW
« no previous file with comments | « recipe_modules/infra_paths/api.py ('k') | recipe_modules/infra_paths/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698