Ben Wagner | a5e7030 | 2018-06-28 17:43:08 -0400 | [diff] [blame] | 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 | |
| 7 | DEPS = [ |
| 8 | 'flavor', |
| 9 | 'recipe_engine/file', |
| 10 | 'recipe_engine/path', |
| 11 | 'recipe_engine/properties', |
| 12 | 'run', |
| 13 | 'vars', |
| 14 | ] |
| 15 | |
| 16 | def 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 | |
| 24 | def 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 | ) |