7fb77c8165
This allows us to move iOS-specific stuff from individual recipes into the flavor module. First in a long series of CLs to clean up recipes and move to task drivers. Change-Id: Iff01610f76c71920639328ead5209e0cd5d93f31 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273762 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ben Wagner aka dogben <benjaminwagner@google.com>
33 lines
890 B
Python
33 lines
890 B
Python
# Copyright 2018 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.
|
|
|
|
# Recipe for Skia Swarming compute testing.
|
|
|
|
DEPS = [
|
|
'flavor',
|
|
'recipe_engine/file',
|
|
'recipe_engine/path',
|
|
'recipe_engine/properties',
|
|
'run',
|
|
'vars',
|
|
]
|
|
|
|
def RunSteps(api):
|
|
api.vars.setup()
|
|
api.flavor.setup('hello-opencl')
|
|
api.run(api.flavor.step, 'hello-opencl', cmd=['hello-opencl'])
|
|
api.run.check_failure()
|
|
|
|
def GenTests(api):
|
|
builder = ('Test-Debian9-Clang-NUC7i5BNK-GPU-IntelIris640-x86_64-Debug-All'
|
|
'-OpenCL')
|
|
yield (
|
|
api.test(builder) +
|
|
api.properties(buildername=builder,
|
|
buildbucket_build_id='123454321',
|
|
revision='abc123',
|
|
path_config='kitchen',
|
|
swarm_out_dir='[SWARM_OUT_DIR]')
|
|
)
|