• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 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# Recipe for Skia Swarming compute testing.
6
7DEPS = [
8  'flavor',
9  'recipe_engine/file',
10  'recipe_engine/path',
11  'recipe_engine/properties',
12  'run',
13  'vars',
14]
15
16def RunSteps(api):
17  api.vars.setup()
18  api.flavor.setup()
19
20  api.run(api.flavor.step, 'hello-opencl', cmd=['hello-opencl'])
21
22  api.run.check_failure()
23
24def GenTests(api):
25  builder = ('Test-Debian9-Clang-NUC7i5BNK-GPU-IntelIris640-x86_64-Debug-All'
26             '-OpenCL')
27  yield (
28      api.test(builder) +
29      api.properties(buildername=builder,
30                     buildbucket_build_id='123454321',
31                     revision='abc123',
32                     path_config='kitchen',
33                     swarm_out_dir='[SWARM_OUT_DIR]')
34  )
35