| 1 |
# Copyright 2021 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 gold_upload tests. |
| 7 |
|
| 8 |
|
| 9 |
DEPS = [ |
| 10 |
'gold_upload', |
| 11 |
'recipe_engine/path', |
| 12 |
'recipe_engine/platform', |
| 13 |
'recipe_engine/properties', |
| 14 |
'recipe_engine/step', |
| 15 |
'flavor', |
| 16 |
'run', |
| 17 |
'vars', |
| 18 |
] |
| 19 |
|
| 20 |
|
| 21 |
def RunSteps(api): |
| 22 |
api.vars.setup() |
| 23 |
api.flavor.setup('dm') |
| 24 |
api.gold_upload.upload() |
| 25 |
|
| 26 |
def GenTests(api): |
| 27 |
yield ( |
| 28 |
api.test('upload_tests') + |
| 29 |
api.properties(buildername='Test-Android12-Clang-Pixel5-GPU-Adreno620-arm64-Release-All-Android_Vulkan', |
| 30 |
repository='https://skia.googlesource.com/skia.git', |
| 31 |
gs_bucket='skia-infra-gm', |
| 32 |
patch_ref='89/456789/12', |
| 33 |
patch_set=7, |
| 34 |
patch_issue=1234, |
| 35 |
revision='abc123', |
| 36 |
path_config='kitchen', |
| 37 |
swarm_out_dir='[SWARM_OUT_DIR]') |
| 38 |
) |
| 39 |
yield ( |
| 40 |
api.test('upload_mac') + |
| 41 |
api.properties(buildername='Test-Mac12-Clang-MacBookPro16.2-GPU-IntelIrisPlus-x86_64-Debug-All-Graphite', |
| 42 |
repository='https://skia.googlesource.com/skia.git', |
| 43 |
gs_bucket='skia-infra-gm', |
| 44 |
patch_ref='89/456789/12', |
| 45 |
patch_set=7, |
| 46 |
patch_issue=1234, |
| 47 |
revision='abc123', |
| 48 |
path_config='kitchen', |
| 49 |
swarm_out_dir='[SWARM_OUT_DIR]') + |
| 50 |
api.platform('mac', 64) |
| 51 |
) |