You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
738 B
Python
29 lines
738 B
Python
# Copyright 2016 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
DEPS = [
|
|
'infra_paths',
|
|
'recipe_engine/path',
|
|
'recipe_engine/platform',
|
|
'recipe_engine/properties',
|
|
'recipe_engine/step',
|
|
]
|
|
|
|
|
|
def RunSteps(api):
|
|
api.step('show cache path', [])
|
|
api.step.active_result.presentation.step_text = str(api.path['cache'])
|
|
|
|
|
|
def GenTests(api):
|
|
yield api.test('basic')
|
|
|
|
for platform in ('linux', 'mac', 'win'):
|
|
for path_config in ('buildbot', 'kitchen'):
|
|
yield (
|
|
api.test('paths_%s_%s' % (path_config, platform)) +
|
|
api.platform.name(platform) +
|
|
api.properties(path_config=path_config)
|
|
)
|