• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 module for Skia Swarming perf.
7
8
9DEPS = [
10  'recipe_engine/path',
11  'recipe_engine/platform',
12  'recipe_engine/properties',
13  'recipe_engine/raw_io',
14  'perf',
15]
16
17
18def RunSteps(api):
19  api.perf.run()
20
21
22def GenTests(api):
23  yield (
24    api.test('Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release') +
25    api.properties(buildername='Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release',
26                   mastername='fake-master',
27                   slavename='fake-slave',
28                   buildnumber=5,
29                   revision='abc123',
30                   path_config='kitchen',
31                   swarm_out_dir='[SWARM_OUT_DIR]') +
32    api.path.exists(
33        api.path['start_dir'].join('skia'),
34        api.path['start_dir'].join('skia', 'infra', 'bots', 'assets',
35                                   'skimage', 'VERSION'),
36        api.path['start_dir'].join('skia', 'infra', 'bots', 'assets',
37                                   'skp', 'VERSION'),
38        api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')
39    )
40  )
41