2017-04-18 19:49:27 +00:00
|
|
|
# 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 = [
|
|
|
|
'recipe_engine/properties',
|
|
|
|
'vars',
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
def RunSteps(api):
|
|
|
|
api.vars.setup()
|
|
|
|
info = [
|
|
|
|
api.vars.upload_dm_results,
|
|
|
|
api.vars.upload_perf_results,
|
|
|
|
api.vars.swarming_bot_id,
|
|
|
|
api.vars.swarming_task_id,
|
|
|
|
]
|
2017-06-28 17:50:22 +00:00
|
|
|
if api.vars.is_linux:
|
|
|
|
assert len(info) == 4 # Make pylint happy.
|
2017-04-18 19:49:27 +00:00
|
|
|
|
|
|
|
|
2017-04-19 18:39:21 +00:00
|
|
|
TEST_BUILDERS = [
|
2018-01-04 16:37:17 +00:00
|
|
|
'Build-Debian9-Clang-x86_64-Release-ParentRevision',
|
2017-12-13 18:00:47 +00:00
|
|
|
'Build-Debian9-Clang-x86_64-Release-SKNX_NO_SIMD',
|
2017-09-26 18:11:15 +00:00
|
|
|
'Build-Debian9-GCC-x86_64-Release-Flutter_Android',
|
|
|
|
'Build-Debian9-GCC-x86_64-Release-PDFium',
|
2017-04-19 18:39:21 +00:00
|
|
|
'Build-Mac-Clang-x86_64-Debug-CommandBuffer',
|
2017-10-11 04:23:58 +00:00
|
|
|
'Build-Win-Clang-x86_64-Release-Vulkan',
|
2017-04-19 18:39:21 +00:00
|
|
|
'Housekeeper-Weekly-RecreateSKPs',
|
2017-10-16 01:05:58 +00:00
|
|
|
'Perf-Chromecast-GCC-Chorizo-CPU-Cortex_A7-arm-Debug-All',
|
|
|
|
'Perf-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-ASAN',
|
|
|
|
'Perf-Ubuntu14-GCC-GCE-CPU-AVX2-x86_64-Release-All-CT_BENCH_1k_SKPs',
|
2017-10-09 19:26:19 +00:00
|
|
|
'Upload-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-Coverage',
|
2017-11-02 17:48:23 +00:00
|
|
|
'Calmbench-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All',
|
|
|
|
"Calmbench-Ubuntu17-Clang-Golo-GPU-QuadroP400-x86_64-Release-All"
|
2017-04-19 18:39:21 +00:00
|
|
|
]
|
2017-04-18 19:49:27 +00:00
|
|
|
|
2017-04-19 18:39:21 +00:00
|
|
|
|
|
|
|
def GenTests(api):
|
|
|
|
for buildername in TEST_BUILDERS:
|
|
|
|
yield (
|
|
|
|
api.test(buildername) +
|
|
|
|
api.properties(buildername=buildername,
|
|
|
|
repository='https://skia.googlesource.com/skia.git',
|
|
|
|
revision='abc123',
|
|
|
|
path_config='kitchen',
|
|
|
|
swarm_out_dir='[SWARM_OUT_DIR]')
|
|
|
|
)
|
2017-04-18 19:49:27 +00:00
|
|
|
|
2017-10-16 01:05:58 +00:00
|
|
|
buildername = 'Test-Win10-MSVC-ShuttleA-GPU-GTX660-x86_64-Debug-All'
|
2017-04-18 19:49:27 +00:00
|
|
|
yield (
|
|
|
|
api.test('win_test') +
|
|
|
|
api.properties(buildername=buildername,
|
|
|
|
repository='https://skia.googlesource.com/skia.git',
|
|
|
|
revision='abc123',
|
|
|
|
path_config='kitchen',
|
|
|
|
swarm_out_dir='[SWARM_OUT_DIR]',
|
|
|
|
patch_storage='gerrit') +
|
|
|
|
api.properties.tryserver(
|
|
|
|
buildername=buildername,
|
|
|
|
gerrit_project='skia',
|
|
|
|
gerrit_url='https://skia-review.googlesource.com/',
|
|
|
|
)
|
|
|
|
)
|