1# Copyright 2016 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# Example recipe w/ coverage. 7 8 9DEPS = [ 10 'recipe_engine/properties', 11 'upload_nano_results', 12] 13 14 15def RunSteps(api): 16 api.upload_nano_results.run() 17 18 19def GenTests(api): 20 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug' 21 yield ( 22 api.test('normal_bot') + 23 api.properties(buildername=builder, 24 gs_bucket='skia-perf', 25 revision='abc123', 26 path_config='kitchen') 27 ) 28 29 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot' 30 yield ( 31 api.test('trybot') + 32 api.properties(buildername=builder, 33 gs_bucket='skia-perf', 34 revision='abc123', 35 path_config='kitchen', 36 issue='12345', 37 patchset='1002') 38 ) 39 40 yield ( 41 api.test('recipe_with_gerrit_patch') + 42 api.properties( 43 buildername=builder, 44 gs_bucket='skia-perf', 45 revision='abc123', 46 path_config='kitchen', 47 patch_storage='gerrit') + 48 api.properties.tryserver( 49 buildername=builder, 50 gerrit_project='skia', 51 gerrit_url='https://skia-review.googlesource.com/', 52 ) 53 ) 54