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 |
| 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 ) |
OLD | NEW |