OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 DEPS = [ | 5 DEPS = [ |
6 'infra_paths', | 6 'infra_paths', |
7 'recipe_engine/path', | 7 'recipe_engine/path', |
8 'recipe_engine/platform', | 8 'recipe_engine/platform', |
9 'recipe_engine/properties', | 9 'recipe_engine/properties', |
10 'recipe_engine/step', | 10 'recipe_engine/step', |
11 ] | 11 ] |
12 | 12 |
13 | 13 |
14 def RunSteps(api): | 14 def RunSteps(api): |
15 api.step('show cache path', []) | 15 api.step('show cache path', []) |
16 api.step.active_result.presentation.step_text = str(api.path['git_cache']) | 16 api.step.active_result.presentation.step_text = str(api.path['cache']) |
17 | 17 |
18 | 18 |
19 def GenTests(api): | 19 def GenTests(api): |
20 yield api.test('basic') | 20 yield api.test('basic') |
21 | 21 |
22 for platform in ('linux', 'mac', 'win'): | 22 for platform in ('linux', 'mac', 'win'): |
23 for path_config in ('buildbot', 'kitchen', 'swarmbucket'): | 23 for path_config in ('buildbot', 'kitchen', 'swarmbucket'): |
24 yield ( | 24 yield ( |
25 api.test('paths_%s_%s' % (path_config, platform)) + | 25 api.test('paths_%s_%s' % (path_config, platform)) + |
26 api.platform.name(platform) + | 26 api.platform.name(platform) + |
27 api.properties(path_config=path_config) | 27 api.properties(path_config=path_config) |
28 ) | 28 ) |
OLD | NEW |