Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
full.py
Go to the documentation of this file.
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
6# Recipe which runs the Skia infra tests.
7
8PYTHON_VERSION_COMPATIBILITY = "PY3"
9
10DEPS = [
11 'infra',
12 'recipe_engine/context',
13 'recipe_engine/file',
14 'recipe_engine/path',
15 'recipe_engine/properties',
16 'recipe_engine/step',
17 'run',
18 'vars',
19]
20
21
22def RunSteps(api):
23 api.vars.setup()
24 with api.context(env=api.infra.go_env):
25 api.step('hello', cmd=['echo', 'hello world'])
26
27
28def GenTests(api):
29 yield (
30 api.test('infra_tests') +
31 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
32 repository='https://skia.googlesource.com/skia.git',
33 revision='abc123',
34 path_config='kitchen',
35 swarm_out_dir='[SWARM_OUT_DIR]') +
36 api.path.exists(api.path['start_dir'].join('localpath'))
37 )