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