| # Copyright 2017 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. |
| |
| |
| DEPS = [ |
| 'core', |
| 'recipe_engine/path', |
| 'recipe_engine/properties', |
| ] |
| |
| |
| def RunSteps(api): |
| api.core.setup() |
| |
| |
| def GenTests(api): |
| buildername = 'Build-Win-MSVC-x86_64-Release-Vulkan' |
| yield ( |
| api.test('test') + |
| api.properties(buildername=buildername, |
| repository='https://skia.googlesource.com/skia.git', |
| revision='abc123', |
| path_config='kitchen', |
| swarm_out_dir='[SWARM_OUT_DIR]') + |
| api.properties(patch_storage='gerrit') + |
| api.properties.tryserver( |
| buildername=buildername, |
| gerrit_project='skia', |
| gerrit_url='https://skia-review.googlesource.com/', |
| ) |
| ) |
| |
| buildername = 'Test-Win10-MSVC-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-ANGLE' |
| yield ( |
| api.test('no_persistent_checkout') + |
| api.properties(buildername=buildername, |
| repository='https://skia.googlesource.com/skia.git', |
| revision='abc123', |
| path_config='kitchen', |
| swarm_out_dir='[SWARM_OUT_DIR]') + |
| api.properties(patch_storage='gerrit') + |
| api.properties.tryserver( |
| buildername=buildername, |
| gerrit_project='skia', |
| gerrit_url='https://skia-review.googlesource.com/', |
| ) |
| ) |
| |
| buildername = 'Build-Ubuntu-GCC-x86_64-Release-PDFium' |
| yield ( |
| api.test('pdfium_trybot') + |
| api.properties( |
| repository='https://skia.googlesource.com/skia.git', |
| buildername=buildername, |
| path_config='kitchen', |
| swarm_out_dir='[SWARM_OUT_DIR]', |
| revision='abc123', |
| patch_issue=500, |
| patch_set=1, |
| patch_storage='gerrit') + |
| api.properties.tryserver( |
| buildername=buildername, |
| gerrit_project='skia', |
| gerrit_url='https://skia-review.googlesource.com/', |
| ) + |
| api.path.exists( |
| api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| ) |
| ) |
| |
| buildername = 'Build-Ubuntu-GCC-x86_64-Release-Flutter_Android' |
| yield ( |
| api.test('flutter_trybot') + |
| api.properties( |
| repository='https://skia.googlesource.com/skia.git', |
| buildername=buildername, |
| path_config='kitchen', |
| swarm_out_dir='[SWARM_OUT_DIR]', |
| revision='abc123', |
| patch_issue=500, |
| patch_set=1, |
| patch_storage='gerrit') + |
| api.properties.tryserver( |
| buildername=buildername, |
| gerrit_project='skia', |
| gerrit_url='https://skia-review.googlesource.com/', |
| ) + |
| api.path.exists( |
| api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| ) |
| ) |
| |
| builder = 'Housekeeper-Weekly-RecreateSKPs' |
| yield ( |
| api.test(builder) + |
| api.properties(buildername=builder, |
| repository='https://skia.googlesource.com/skia.git', |
| revision='abc123', |
| path_config='kitchen', |
| swarm_out_dir='[SWARM_OUT_DIR]') + |
| api.path.exists(api.path['start_dir'].join('skp_output')) |
| ) |
| |
| buildername = 'Build-Ubuntu-GCC-x86_64-Release' |
| yield ( |
| api.test('cross_repo_trybot') + |
| api.properties( |
| repository='https://skia.googlesource.com/parent_repo.git', |
| buildername=buildername, |
| path_config='kitchen', |
| swarm_out_dir='[SWARM_OUT_DIR]', |
| revision='abc123', |
| patch_issue=500, |
| patch_repo='https://skia.googlesource.com/skia.git', |
| patch_set=1, |
| patch_storage='gerrit') + |
| api.properties.tryserver( |
| buildername=buildername, |
| gerrit_project='skia', |
| gerrit_url='https://skia-review.googlesource.com/', |
| ) + |
| api.path.exists( |
| api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| ) |
| ) |