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 = "PY2+3" 9 10DEPS = [ 11 'gold_upload', 12 'recipe_engine/path', 13 'recipe_engine/properties', 14 'recipe_engine/python', 15 'recipe_engine/step', 16 'flavor', 17 'run', 18 'vars', 19] 20 21 22def RunSteps(api): 23 api.vars.setup() 24 api.flavor.setup('dm') 25 api.gold_upload.upload() 26 27def GenTests(api): 28 yield ( 29 api.test('upload_tests') + 30 api.properties(buildername='Test-Android-Clang-Pixel2XL-Some-GPU-arm64-Debug-All', 31 repository='https://skia.googlesource.com/skia.git', 32 gs_bucket='skia-infra-gm', 33 patch_ref='89/456789/12', 34 patch_set=7, 35 patch_issue=1234, 36 revision='abc123', 37 path_config='kitchen', 38 swarm_out_dir='[SWARM_OUT_DIR]') 39 ) 40